Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auth #118

Merged
merged 31 commits into from
Jan 15, 2024
Merged

Auth #118

merged 31 commits into from
Jan 15, 2024

Conversation

imashnake0
Copy link
Owner

@imashnake0 imashnake0 commented Jan 10, 2024

First PR for authentication. This PR only enables the user to login. I referred to AniHyou a lot.

Summary of changes:

  1. Fix navigation.
  2. Parse response to get access token.
  3. Add DataStore.
  4. Save access token to DataStore.
  5. Added interceptor to make authenticated requests.
  6. Added "User" and "Viewer" queries.
  7. Added login button and "logged in".

Tested changes:

Authenticated user's metadata is displayed.

@imashnake0 imashnake0 self-assigned this Jan 10, 2024
@imashnake0 imashnake0 added the feature New feature label Jan 10, 2024
@imashnake0 imashnake0 added this to Doing in Roadmap via automation Jan 10, 2024
@imashnake0 imashnake0 linked an issue Jan 10, 2024 that may be closed by this pull request
Closed
4 tasks
@imashnake0
Copy link
Owner Author

screen-20240110-045217.2.mp4

profile/build.gradle.kts Outdated Show resolved Hide resolved
Roadmap automation moved this from Doing to Needs review Jan 12, 2024
@imashnake0
Copy link
Owner Author

screen-20240114-225612.2.mp4

Copy link
Collaborator

@boswelja boswelja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You asked for this

- Inlined `ACESS_TOKEN`.
- Removed TODO.
- Fixed annotations.
Co-Authored-By: Jack Boswell <boswelja@outlook.com>
@imashnake0 imashnake0 merged commit 54b14f4 into main Jan 15, 2024
1 check passed
Roadmap automation moved this from Needs review to Done Jan 15, 2024
@imashnake0 imashnake0 deleted the auth branch January 15, 2024 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
Development

Successfully merging this pull request may close these issues.

Auth
3 participants