Skip to content

Add support for Google optional authorization parameters. - #15

Merged
mattmassicotte merged 3 commits into
ATProtoKit:mainfrom
martindufort:fix-support-login-hint
Nov 10, 2023
Merged

Add support for Google optional authorization parameters. #15
mattmassicotte merged 3 commits into
ATProtoKit:mainfrom
martindufort:fix-support-login-hint

Conversation

@martindufort

Copy link
Copy Markdown
Contributor

Add support for Google optional parameters:

  • login_hint: Suggest Google account email address to perform authorization with
  • include_granted_scopes: Include previously granted scopes in the authorization request.

Fix

Remove unused parameters in the LoginProvider and RefreshProvider

Tests

Add new tests to ensure AuthorizationURL is properly constructed

Cleanup functions to remove unneeded parameters
…ng the optional parameters in the constructed URL.
@mattmassicotte

Copy link
Copy Markdown
Contributor

Silly issue: the initialization function being used isn't available on some platforms. Adding one additional parameter can fix it. I'm going to attempt to add a commit that does that...

@mattmassicotte
mattmassicotte merged commit b33e2e0 into ATProtoKit:main Nov 10, 2023
@martindufort

Copy link
Copy Markdown
Contributor Author

Is everything all good?

@mattmassicotte

Copy link
Copy Markdown
Contributor

Yup everything is good. I've never pushed a commit to someone else's branch as part of a PR before. But it worked!

Thanks again for this, great change.

@martindufort
martindufort deleted the fix-support-login-hint branch April 30, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants