authlib / authlib/demo-oauth-client
Session expiry?
- Dominant language
- Python
- Stars
- 287
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Description
Do the tokens in these demos expire? For example in flask-google-login/app.py I see that the user info is stored in the session: `session['user'] = token['userinfo']`, but I don't see any logic that has the webpage logout the user once the token expires. Through what means does authlib verify token validity?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with flask-google-login/app.py, especially the assignment to session['user'], then trace how the demo obtains and uses token['userinfo']. Document whether Authlib verifies token validity and how session state should behave after expiry; the issue is done when the expiry and logout behavior are clearly explained.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flask, python
- Domain
- authentication, backend
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100