Reputation: 1623
I try to use the quickstart of sign-in with Microsoft but when I try to log an error appear:
in my config file i have this parameters:
and in the app config i have this paramter:
i dont know what is happening :(
Thanks for the help! :D
Upvotes: 1
Views: 6984
Reputation: 16
I encountered the same error. For me, the issue was that I was navigating to url that flask provides when it starts: http://127.0.0.1:5000/login
rather than http://localhost:5000/login
which is the url that the app registration is looking for.
Upvotes: 0
Reputation: 22409
Your Redirect_Path
should be same with azure portal Redirect URIs
.
Note: Protocol matters. AAD will treat
http://localhost/logfinal/
andhttps://localhost/logfinal/
as different reply URLs. If you are still having an issue after following the steps above, check that the configured reply URL matches the protocol you're actually using.
Hope this would help. Additionally, please refer to Official document for more details.
Upvotes: 1