cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Allen_Gao
Microsoft
Microsoft

Configure Single Sign On with React and @azure/msal library

Hi This is Runhua(Allen).

I am trying to moving our bot to the typescript and also want to configure the single sign on for it.

Allen_Gao_0-1615857980196.png

 

But the PVA/Configure SSO  is with javascript. So could some one take a look at here?

 

The first question is that how could I export the directLine, as in react it is a component state not a global variable.

 

Second question is for the msal client, if I want to use @azure/msal-browser library, how to get that userId?  

 

Looking forward to your reply 🙂

 

1 ACCEPTED SOLUTION

Accepted Solutions
ChristianAbata
Super User II
Super User II

hi @Allen_Gao  here you have some examples about Azure/msal  

 

@azure/msal-browser - npm (npmjs.com)



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

1 REPLY 1
ChristianAbata
Super User II
Super User II

hi @Allen_Gao  here you have some examples about Azure/msal  

 

@azure/msal-browser - npm (npmjs.com)



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

Helpful resources

Announcements
March Update

Welcome to the User Group Private Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (29,300)