Hi there. Thank you to all the developers /maintainers of supertokens! I've been loving the developm...
l
Hi there. Thank you to all the developers /maintainers of supertokens! I've been loving the development experience so far. I have been having a weird issue I was hoping I could get some help with. On initial login locally I am always getting a refresh token through the third party login flow (right now I am using google). When i deployed my app to AWS, I now only get a refresh token on the initial login flow, but not on subsequent logins. I would guess this is something on the google side, but I was wondering if this is something others have experiences or have some familiarity with.
@rp_st let me know if attaching any code would be helpful!
r
Hey @lucasf4703 when you say initial login, what do you mean?
Is it before logging in or after logging in?
l
so when i first sign up/authorize the app, i always get both the access token and refresh token. Locally every time i log in after that, i get both tokens. but in my deployed env, i get the refresh + access on sign up, but only get the access token on subsequent logins
r
hmm. Im not quite sure why that would happen. Maybe you have some proxy? Not sure..