We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7ec8a8 commit 27e1bf7Copy full SHA for 27e1bf7
msal/application.py
@@ -624,8 +624,12 @@ def _decorate_scope(
624
# We could make the developer pass these and then if they do they will
625
# come back asking why they don't see refresh token or user information.
626
raise ValueError(
627
- "API does not accept {} value as user-provided scopes".format(
628
- reserved_scope))
+ """You cannot use any scope value that is reserved.
+Your input: {}
629
+The reserved list: {}""".format(list(scope_set), list(reserved_scope)))
630
+ raise ValueError(
631
+ "You cannot use any scope value that is in this reserved list: {}".format(
632
+ list(reserved_scope)))
633
634
# client_id can also be used as a scope in B2C
635
decorated = scope_set | reserved_scope
0 commit comments