Skip to content

Commit

Permalink
Merge pull request #6410 from AnjanaSamindraPerera/fix-apim-issue
Browse files Browse the repository at this point in the history
Add new config to define default scopes
  • Loading branch information
AnjanaSamindraPerera authored Feb 3, 2025
2 parents 8cfc18f + 85713bf commit 1500a47
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1255,6 +1255,15 @@
</AllowedScopes>
{% endif %}

% if oauth.default_requested_scopes is defined %}
<!-- Configuration to pass a list of default requested scopes. -->
<DefaultRequestedScopes>
{%for scope in oauth.default_requested_scopes%}
<Scope>{{scope}}</Scope>
{% endfor %}
</DefaultRequestedScopes>
{% endif %}

{% if oauth.drop_unregistered_scopes is defined %}
<!--
By enabling this config, any unregistered scopes(excluding internal scopes and allowed scopes)
Expand Down

0 comments on commit 1500a47

Please sign in to comment.