invalid_scope for scope which is configured for the client

SeDev 0 Reputation points


I am implementing sign-in via Microsoft and face the invalid_scope issue which I can't get and solve. So, I added the profile scope for my client here (this is Azure portal UI - App registration)
User's image

But if I try to add this into auth request like this:{my-client}&{redirect-value}&state={state-value}

or even{my-client}&scope=profile&response_type=code&redirect_uri={redirect-value}&state={state-value}

result is the same - the invalid_scope error. The scope
works fine.
Could you help me to get what is wrong with my request and how it should be?

Thank you

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,007 questions
0 comments No comments
{count} votes