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

[QUERY] Issue while fetching a new access token using refresh token in a spring boot client #727

Open
smitha0202 opened this issue Sep 28, 2023 · 1 comment
Labels
azure-spring All azure-spring related issues

Comments

@smitha0202
Copy link

Query/Question
I am able to log in and fetch the ID token, Access Token, and refresh token for an application built using the sample below. But, when the access token expires, the spring application sends a new POST request with the refresh token for a new token. This request is failing with the following error :
AADSTS90009: Application 'XXX' is requesting a token for itself. This scenario is supported only if the resource is specified using the GUID-based App Identifier.

For App registration in the Azure AD, I have chosen the application type as web, created a custom scope, and listed this new scope along with OpenID, profile, and offline_access in the client configuration.

Please let me know how to resolve this error

Setup (please complete the following information if applicable):

@smitha0202 smitha0202 added the azure-spring All azure-spring related issues label Sep 28, 2023
@Netyyyy
Copy link
Contributor

Netyyyy commented Oct 8, 2023

Hi @smitha0202 , thanks for reaching out.
We have received your submission and will take it into consideration. We appreciate your input and will review this matter as soon as possible.
Please feel free to provide any additional information or context that you think may be helpful. We'll keep you updated on the progress of our review.
Thank you for your contribution to improving our project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure-spring All azure-spring related issues
Projects
None yet
Development

No branches or pull requests

2 participants