Commit 002a135
authored
Change an optional scopes parameter to be required
The previous default None value would cause an exception in our code decorate_scope().
The fix is to change the previously optional scopes parameter to required.
This kind of api surface change would usually be a breaking change, but in this case it is not,
because the previous default value would cause exception so it was in fact required.
FWIW, you can still explicitly use empty list [] as scope,
and the response would contain id_token and refresh_token, but no access_token.1 parent d79cc5a commit 002a135
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
| 515 | + | |
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
| |||
0 commit comments