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

Can not retrieve users info with UseWebPopup = false #18

Open
angelo98-dev opened this issue Aug 5, 2022 · 1 comment
Open

Can not retrieve users info with UseWebPopup = false #18

angelo98-dev opened this issue Aug 5, 2022 · 1 comment

Comments

@angelo98-dev
Copy link

angelo98-dev commented Aug 5, 2022

I'm working on authentication with Azure, on a web app. When I set the useWebPopup to false, the auth page opens normally to authenticate with Azure, but after the whole application is refreshed, and I still find myself on the authentication page.

I've tried with the example project provided in this package and I have the same behavior, after the authentication flow, I come back to the auth page instead of being redirected to the page with the user information ( token, username, etc...

[Starting point - 1]

Capture d’écran 2022-08-05 à 15 32 35

)

[Select Interactive with use Web Popup disabled]

Capture d’écran 2022-08-05 à 15 32 48

[o365 Auth Flow]

Capture d’écran 2022-08-05 à 15 33 29

[I'm back to the step one]

Capture d’écran 2022-08-05 à 15 33 45

Normally I should see the page with usage information as in the case with UseWebPopup is true.

How can I have the same behavior in Popup mode ?
Thanks

@jhancock4d
Copy link
Contributor

This is typically because it didn't go through the code flow redirect correctly which has to be in the HTML folder and available per the docs and Azure has to be set to redirect to it otherwise you'll see the behavior you found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants