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

Implement pkce #1

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Implement pkce #1

wants to merge 21 commits into from

Conversation

tschbc
Copy link
Owner

@tschbc tschbc commented Sep 23, 2022

  1. Replaced the manual implementation of OAuth with the openid/AppAuth-Android library.
  2. Removed IntelliJ IDEA files from source tracking and updated .gitignore
  3. Updated README
  4. Migrated to AndroidX
  5. Updated Gradle and Kotlin versions
  6. Removed Retrofit dependency
  7. General code cleanup

Added the entire .idea/ directory to gitignore instead of singular files
and removed tracked files from git.

These files are automatically generated by IDEA – there's no need to
keep them around in source control. Even worse, it can cause weird
build issues depending on different dev environments.
Had to increase compileSdkVersion from 26 to 28 for this to work.
Replaces AuthApi and its retrofit implementation using the AppAuth
library to handle token requests.
- RedirectActivity now uses activity results for OAuth flow

- Reworked CustomTabsIntent to use non-deprecated features

- RedirectPresenter error checks Intent from result and initiates the
    Token exchange inside redirectReceived()
No longer needed – appAuthRedirectScheme in build.gradle replaces it
- Remove unused items
- Fix typos
- Fix kotlin lint items
@tschbc tschbc added the enhancement New feature or request label Sep 23, 2022
@tschbc tschbc self-assigned this Sep 23, 2022
@tschbc tschbc requested a review from f-w September 23, 2022 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant