Is there a clean way to implement refresh tokens? #215
Answered
by
sergiodxa
brandonpittman
asked this question in
Q&A
-
I have a hand-rolled auth system that does refresh tokens like this article @sergiodxa wrote. Is there a way to cleanly do this with remix-auth, or do I still need a custom authenticate function? |
Beta Was this translation helpful? Give feedback.
Answered by
sergiodxa
Jan 13, 2023
Replies: 1 comment 2 replies
-
Instead of |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
brandonpittman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instead of
let accessToken = session.get("accessToken");
replace it withisAuthenticate
to get the accessToken and do the rest in the same way.