-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always set
tokenEndpoint
using value of authorizationUri
from `OA…
…uthSettings` during `LoginClient` initialization. (#338) * Add option to override token endpoint during initialization * Remove unused imports * Update doc * Extract getting credentials to private method * Always set `tokenEndpoint` using value of `authorizationUri` from `OAuthSettings` during `LoginClient` initialization * Update packages/login_client/CHANGELOG.md Co-authored-by: Albert Wolszon <[email protected]> * Update packages/login_client/lib/src/login_client.dart Co-authored-by: Albert Wolszon <[email protected]> * Update docs * Test whether tokenEndpoint has been replaced * Use copyWithTokenEndpoint in test * Compare only tokenEndpoint in test --------- Co-authored-by: Albert Wolszon <[email protected]>
- Loading branch information
Showing
5 changed files
with
81 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters