You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.
Remove default auth behavior.
Make a wrapper for the route handler (as U.CatchUnexpected) to check auth.
If there isn't an access token, check the refresh token. If the refresh token is valid, add a new access token to the handler's response.
If the access token is valid, check the expiration. If the token never expires that means it's a dev token and must be checked from the tokens table. If not it's a website token.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Remove default auth behavior.
Make a wrapper for the route handler (as U.CatchUnexpected) to check auth.
If there isn't an access token, check the refresh token. If the refresh token is valid, add a new access token to the handler's response.
If the access token is valid, check the expiration. If the token never expires that means it's a dev token and must be checked from the tokens table. If not it's a website token.
The text was updated successfully, but these errors were encountered: