question

Sugat-1790 avatar image
0 Votes"
Sugat-1790 asked mol-0190 commented

B2C msal Integration in Ionic Framework

Hi,

I have implemented b2c msal in Ionic project through @azure/msal-angular and msal js library.
And I am using loginRedirect to change url in same window but it is opening device's default browser.

According to my project's requirements I have to login user within the application. using msal-angular js plugin.

For the moment I am using cordova InAppBrowser to login and get token from success url. and using this method I am unable to get refresh token.

azure-ad-msal
· 7
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Sugat-1790 ,

Thanks for reaching out! What is your exact concern/question around this project?

There's a blog post around B2C and Ionic integration that may be helpful in this endeavor: https://techcommunity.microsoft.com/t5/apps-on-azure/adding-azure-ad-b2c-login-to-a-hybrid-mobile-app-using-ionic/ba-p/1563740

0 Votes 0 ·
Sugat-1790 avatar image Sugat-1790 MarileeTurscak-MSFT ·

Hi @MarileeTurscak ,

Thanks for your suggestion.

But I don't have an Ionic Enterprise license key, so can't use the Ionic Auth Connect plugin.
Although I have found a way to refresh the access token.

0 Votes 0 ·

Hello,

Could you indicate how you have solved the problem?
It would be of great help for a project that I am doing.

Thanks

0 Votes 0 ·
Show more comments

0 Answers