I’m building an api which Stripe will redirect to ...
# help
s
I’m building an api which Stripe will redirect to in order to subscribe the user after confirming payment details. I have an AuthStack setup which allows for the use of AWS IAM authorization when making requests to my api. I am wondering, if the user has previously authenticated via IAM in the browser, will the authorization still be valid if I direct the user to Stripe, then Stripe redirects back to the api (protected by IAM authorization)?
and then in the auth stack:
f
Hey @Sebastian Kline, most likely not. When Stripe calls back, does it pass some sort of a token that you can check?
s
Yeah, ended up rolling that route. Works like a charm!