Skip to content
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

[Core] remove URL validations on credential scopes #25896

Merged
merged 2 commits into from
May 18, 2023

Conversation

jeremymeng
Copy link
Member

It is possible that credential scopes are not in the format of valid URL. It is also noted in the doc that there are shorter form of scope https://learn.microsoft.com/EN-US/azure/active-directory/develop/scopes-oidc

In requests to the authorization, token or consent endpoints for the Microsoft Identity platform, if the resource identifier is omitted in the scope parameter, the resource is assumed to be Microsoft Graph. For example, scope=User.Read is equivalent to https://graph.microsoft.com/User.Read.

Related issue: #25881

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

Copy link
Member

@xirzec xirzec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@jeremymeng jeremymeng merged commit 0243d19 into Azure:main May 18, 2023
@jeremymeng jeremymeng deleted the core/relax-scopes-url-requirement branch May 18, 2023 00:21
jeremymeng added a commit to jeremymeng/azure-sdk-for-js that referenced this pull request May 19, 2023
It is possible that credential scopes are not in the format of valid
URL. It is also noted in the doc that there are shorter form of scope
https://learn.microsoft.com/EN-US/azure/active-directory/develop/scopes-oidc

>In requests to the authorization, token or consent endpoints for the
Microsoft Identity platform, if the resource identifier is omitted in
the scope parameter, the resource is assumed to be Microsoft Graph. For
example, `scope=User.Read` is equivalent to
`https://graph.microsoft.com/User.Read`.

Related issue: Azure#25881
jeremymeng added a commit that referenced this pull request May 19, 2023
)

It is possible that credential scopes are not in the format of valid
URL. It is also noted in the doc that there are shorter form of scope
https://learn.microsoft.com/EN-US/azure/active-directory/develop/scopes-oidc

>In requests to the authorization, token or consent endpoints for the
Microsoft Identity platform, if the resource identifier is omitted in
the scope parameter, the resource is assumed to be Microsoft Graph. For
example, `scope=User.Read` is equivalent to
`https://graph.microsoft.com/User.Read`.

Related issue: #25881
minhanh-phan pushed a commit to minhanh-phan/azure-sdk-for-js that referenced this pull request Jun 12, 2023
It is possible that credential scopes are not in the format of valid
URL. It is also noted in the doc that there are shorter form of scope
https://learn.microsoft.com/EN-US/azure/active-directory/develop/scopes-oidc

>In requests to the authorization, token or consent endpoints for the
Microsoft Identity platform, if the resource identifier is omitted in
the scope parameter, the resource is assumed to be Microsoft Graph. For
example, `scope=User.Read` is equivalent to
`https://graph.microsoft.com/User.Read`.

Related issue: Azure#25881
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-js that referenced this pull request Oct 12, 2023
[Microsoft.Workoads] Adding a new Api-version 2023-10-01-preview (Azure#25896)

* Copying the previous version to the new version folder

* Changed the swagger version to the new one

* Updating the new version changes

* Updated examples for the new versions

* Reverting change in the existing version swagger

* Fixing the semantic validation error

* upgrading to v5 for common file

* Adding x-ms-long-running-operation in Patch call

* Updated the return code from 201 to 202 for Patch calls

* Fixes for model validation

* Fixing prettier check

* Added patch call schema

* Update the patch update sap instance property structure

* Update location in examples and object description changes

* Removed 200 code for Delete to fix the linter check

* Removed 200 code for child instance delete calls
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-js that referenced this pull request Oct 12, 2023
[Microsoft.Workoads] Adding a new Api-version 2023-10-01-preview (Azure#25896)

* Copying the previous version to the new version folder

* Changed the swagger version to the new one

* Updating the new version changes

* Updated examples for the new versions

* Reverting change in the existing version swagger

* Fixing the semantic validation error

* upgrading to v5 for common file

* Adding x-ms-long-running-operation in Patch call

* Updated the return code from 201 to 202 for Patch calls

* Fixes for model validation

* Fixing prettier check

* Added patch call schema

* Update the patch update sap instance property structure

* Update location in examples and object description changes

* Removed 200 code for Delete to fix the linter check

* Removed 200 code for child instance delete calls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants