MSAL Authentication not working on browser applications #18499
Replies: 3 comments
-
|
Did you get this to work? I have the same problem that the redirect causes the app to load in the small popup and it gets cancelled in the main window. |
Beta Was this translation helpful? Give feedback.
-
|
This issue is better to be reported or asked at MSAL repository. It doesn't seems to be related to Avalonia, we can't help with that. |
Beta Was this translation helpful? Give feedback.
-
|
Redirect callbacks can't be used here, AFAIK. They typically require an |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey!
I just wanted to ask what the recommended way of using the msal package was on browser applications? On desktop, it opens a browser and lets you sign in but on browser, after using some JS Interop to open the popup, what should the redirect URL be set to?
Here's the js code I use to login on browser. The redirect just leads to the whole application being reloaded. My current navigation uses a
CurrentPageproperty on the main view model to render the selected page from a navbar. Is there a way to incorporate URLs into this?Are there any samples I can use to learn more?
Beta Was this translation helpful? Give feedback.
All reactions