Channels
twitter
flutter
off-topic
sql
ideas-and-suggestions
youtube
python
intros
welcome
hackathon
help-and-questions
javascript
bot
gotrue
roles
showcase-feedback
links
rules
server-updates
supabase-functions-challenge
faq
levels
reading
launch-week-hype
memes
votes
swift
日本語
jobs
showcase
reddit
no-mic
help
Powered by
#help
Title
# help
x
xa
01/19/2022, 8:30 AM
Hi, im getting invalid refresh token even though the time of request is less than the expires_at time?
k
ktosiek
01/19/2022, 8:32 AM
invalid token
how are you sending the token? Have you used it earlier? refresh_tokens are single use.
x
xa
01/19/2022, 8:35 AM
oh. after a user signs in, i save the session on the client, then send the refresh_token to the server and refresh it
k
ktosiek
01/19/2022, 8:49 AM
I don't think you need to do that, after login you should get a perfectly valid access_token
x
xa
01/19/2022, 9:01 AM
Yea
I guess i was trying to do it so that the user wont have to login again if the session expires
Post