Systers, an AnitaB.org community
[Mentorship - Android] Logout a user when JWT expires
Prerequisite:
- Fork and clone the project from the github repository
- Follow the documentation for successfully setting up the project
- Open Project in Android Studio
Steps:
- When a user logs in he/she is issued a JSON Web Token(JWT).
- If the token expires he/she cannot make requests and the server sends a 401 error code.
- Detect an expired token using Okhttp Authenticator and logout the user. You can read more here
Resources:
- If you need help or get lost, post a response to our questions topic in our #gci stream.
Work Submission:
After successfully fixing this issue, commit and make a Pull Request. Title of PR should contain "Program:GCI"
- Commit Message Style Guide
- Sample PR structure
- Make sure to attach either screenshot or GIF of the fixed issue
Task tags
Students who completed this task
_daksha_, asawesome07, HardikJH, i_maier