-
Notifications
You must be signed in to change notification settings - Fork 181
Custom scopes support in M2M, WIF and U2M #1194
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
base: main
Are you sure you want to change the base?
Conversation
|
If integration tests don't run automatically, an authorized user can run them manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
hectorcast-db
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.
Incremental code is good. Let's add a bit more tests.
|
|
||
| scopes = cfg.get_scopes() | ||
| if not cfg.disable_oauth_refresh_token: | ||
| if "offline_access" not in scopes: |
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.
Let's add a couple of tests to (1) ensure that offline_access is added (2) only if not present.
Summary
How is this tested?
NO_CHANGELOG=true