AAD MSAL Auth in Reflex #2539
viswanadula8828
started this conversation in
General
Replies: 3 comments 9 replies
-
I am self-hosting Reflex in two Azure Web Apps and added AAD auth (see here) around the frontend web app. It works. The problem is I don't have way to pass the ID tokens to the backend from the front end. Tracked at #2704 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've been using MSAL to authenticate users of my reflex site for a while now. Here is the code I use. State code:
page code:
|
Beta Was this translation helpful? Give feedback.
9 replies
-
You sent it to the wrong person.
… @jryberg <https://github.com/jryberg> you need to add another route which
says /msal_login with loading component. And then redirect to the desired
page
Do you have any working example?
I find it hard to use on_load method to the "secured" pages to evaluate if
the session is authenticated or not since part of the page is still
rendered and sent to the frontend
—
Reply to this email directly, view it on GitHub
<#2539 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BKTSVPPTABSA42X7AP7WZL32PNAXPAVCNFSM6AAAAABC4XWF6OVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMJXGE2DEOI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can you someone help me with how can I do msal authentication in reflex ? As my org uses aad.
Beta Was this translation helpful? Give feedback.
All reactions