-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
validateToken validateToken, groups and email tidy validateToken UserInfo UserInfo continued Might be worth splitting this function up so it can serve different purposes if required in the future. However for now it does the job. some cleanup and fix group validation change default to google cleaning up updating comments removng BaseURL from provider for now removing BaseURL from options and modifying UserInfoURL and RevokeURL fix tags removing BaseURL from provider_data add offline_access for refresh token tidying add empty line back in separate validateToken into respective provider packages review changes change from oktapreview to okta rename UserInfo to GetUserProfile removing validateToken func and tests extra oktapreview -> okta add initial test file skipping while debugging fixing TestValidateEndpoint tests removing skip check response contents to properly validate removing debug output changes from review, and adding relevant test case use test logger instead of stdlib logger use %q instead of %s to quote formatted output moving formatting to options.go, and reducing repetition move logic to more relevant function set entire org url rather than just org name fixing test
- Loading branch information
1 parent
d0e8e03
commit 5edbfbd
Showing
9 changed files
with
990 additions
and
111 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
Oops, something went wrong.