Azure-Samples / active-directory-dotnet-webapp-openidconnect

A .NET MVC web application that uses OpenID Connect to sign-in users from a single Azure Active Directory tenant.
159 stars 109 forks source link

Always redirect to redirect_uri when click 'Create a new Microsoft account' while login #40

Closed sylfree9999 closed 6 years ago

sylfree9999 commented 7 years ago

Hi,

First of all, thanks very much for the code sample.

I am studying the WebApp-OpenIDConnect-DotNet Sample, but I found out when clicking the Create a new Microsoft account, it always redirect to the redirect_uri that I set in the web.config. 20171010110851

Is there any way this can redirect to Microsoft User Creation page?

And btw, how can I capture the authentication token that Azure AD creates? Are there any tools that I can see the request/response detail? I have tried Fiddler but with no success. 20171010111827

kalyankrishna1 commented 6 years ago

Hi, did you end up on the screenshot below using this sample? I have always been able to capture auth flows and tokens using fiddler. Do you have the "capture https" options checked? Fiddler root cert placed in correct container ?

kalyankrishna1 commented 6 years ago

Reopening this as I accidently pressed the wrong button and ended up closing this thread after asking questions :)

jmprieur commented 6 years ago

@sylfree9999 : closing this thread. Feel free to reopen if you want to answer Kalyan's question;