-
Notifications
You must be signed in to change notification settings - Fork 978
Demo app revamp #185
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
Demo app revamp #185
Conversation
- Removes all references to Google from the app - Focuses the app on the single IDP use case - Demonstrates persisting authorization state to shared prefs - Enables Java 8 features, simplifies some asynchronous code
Codecov Report
@@ Coverage Diff @@
## master #185 +/- ##
============================================
- Coverage 82.83% 79.21% -3.62%
- Complexity 0 432 +432
============================================
Files 41 41
Lines 2132 2141 +9
Branches 204 206 +2
============================================
- Hits 1766 1696 -70
- Misses 366 367 +1
- Partials 0 78 +78
Continue to review full report at Codecov.
|
WilliamDenniss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
app/README-Google.md
Outdated
| @@ -0,0 +1,35 @@ | |||
| # Configuring Google Sign In | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Google Sign In and OAuth?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll adopt the title you used in your readme, "Using AppAuth for Android with Google".
app/README.md
Outdated
| authorization option | ||
| flow with an authorization service. The configuration contained in `res/raw/idp_config.json` | ||
| must be modified in order for the app to function. Warnings are supplied when the app is run | ||
| if the configuration is invalid. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"with an invalid configuration"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
app/README.md
Outdated
| generate this, or it can be done directly on the | ||
| [Google Developer Console](https://console.developers.google.com/apis/credentials?project=_). | ||
| - `redirect_uri` (required): The redirect URI to use for receiving the authorization response. | ||
| This can either be a custom scheme URI (example:/path) or an https app link |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
com.example.app:/oauth2redirect/example-provider is the example I use in the BCP. I know it was just an example, but technically example:/path would violate IANA requirements for private-use URI schemes (not domain-based).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
|
👍 @WilliamDenniss @iainmcgin - We will be doing our bit shortly for review. |
This change is