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

urn:ietf:wg:oauth:2.0:oob will be removed from Azure CLI's Reply URLs on 2022-08-02 #23256

Closed
jiasli opened this issue Jul 19, 2022 · 3 comments
Assignees
Labels
Core CLI core infrastructure

Comments

@jiasli
Copy link
Member

jiasli commented Jul 19, 2022

The deprecated Reply URL urn:ietf:wg:oauth:2.0:oob will be removed from first party application Azure CLI (04b07795-8ddb-461a-bbee-02f9e1bf7b46)'s Reply URLs on 2022-08-02.

After that, valid Reply URLs will be

  • http://localhost
  • https://login.microsoftonline.com/common/oauth2/nativeclient

⚠️ Warning

Azure CLI's client ID 04b07795-8ddb-461a-bbee-02f9e1bf7b46 is only meant to be used by Azure CLI. Using it in your own application is not supported and may cause unexpected failure at any time.

@jiasli jiasli pinned this issue Jul 19, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented Jul 19, 2022

remove urn:ietf:wg:oauth:2.0:oob

@yonzhan yonzhan added the Core CLI core infrastructure label Jul 19, 2022
@yonzhan yonzhan added this to the Backlog milestone Jul 19, 2022
@jiasli jiasli modified the milestones: Backlog, Jul 2022 (2022-08-02) Jul 20, 2022
@yonzhan yonzhan closed this as completed Jul 28, 2022
@jiasli
Copy link
Member Author

jiasli commented Aug 17, 2022

The change has been rolled out.

If you are still using Azure Storage Explorer earlier than 1.13, you will encounter error while logging in:

AADSTS50011: The redirect URI 'urn:ietf:wg:oauth:2.0:oob' specified in the request does not match the redirect URIs configured for the application '04b07795-8ddb-461a-bbee-02f9e1bf7b46'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to https://aka.ms/redirectUriMismatchError to learn more about how to fix this.

To solve it, please upgrade to the latest version of Azure Storage Explorer or 1.13+.

@aremo-ms
Copy link

aremo-ms commented Oct 7, 2022

today is October 7, 2022, I still see this URI required when connecting with Public Client (WinUI)
thoughts?

@jiasli jiasli unpinned this issue Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core CLI core infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants