Hello rp it has been awhile! i am once again askin...
# support-questions-legacy
s
Hello rp it has been awhile! i am once again asking for help. I want to use supertokens to protect an api when hit from my app. My understanding so far is: 1.) User signs in via my app by hitting supertokens 2.) supertokens magic happens and on every api request the cookie gets sent over 3.) all i have to do is do verify session to ensure that we check for valid authentication. the above is working like a charm, but this is my current problem: i have a constraint on the api that i have to use a passport strategy in order to authenticate. it can be a custom strategy. do y'all have a strategy example on how to do this, or some guidance on best practice? Please humble me