Add Scope Parameter to Oauth Login #7609
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The current implementation of the OAuth login is missing the scope query parameter. In order for Oauth to work properly we must add the scope.
https://oauth.net/2/scope/
Which Traffic Control components are affected by this PR?
What is the best way to verify this PR?
You could stand up a TP/TO and SSO service. Try logging in with SSO. Currently SSO providers were throwing an error saying something along the lines of "scope not provided". With this addition, the error should no longer exist and the SSO provider should provide TP with a code.
If this is a bugfix, which Traffic Control versions contained the bug?
PR submission checklist
This is a small bug fix without tests
This PR should not change any functionality. The usage should be entirely the same. No documentation necessary.