phoenix_guardian icon indicating copy to clipboard operation
phoenix_guardian copied to clipboard

Refresh Token

Open pytong opened this issue 8 years ago • 1 comments

When should I refresh a token? How can I tell if a token has expired? I want to avoid asking the user to click the "Authorize" button more than once. I plan to add a plug to a pipeline for all the APIs. Or should I call UserFromAuth.find_or_create_user(auth, current_user, Repo) every time in all API controller actions?

pytong avatar Aug 06 '16 01:08 pytong

@pytong which token?

yordis avatar Nov 28 '16 12:11 yordis