Skip to main content

All Questions

Tagged with
1 vote
0 answers
1k views

Properly secure a Vue 3 SPA with MSAL browser and Vue router navigation guards

I am trying to secure a Vue.js SPA using msal-browser redirect flow and vue router navigation guards. My solution is highly inspired by this sample from Microsoft's Github. What I am trying to achieve:...
uodami's user avatar
  • 123
0 votes
1 answer
1k views

How to disable Single sign-on (SSO) with MSAL.js?

I have a issue with MSAL and SSO. I want to disable Single sign-on (SSO) for an intranet Vue 3 SPA application. SPA is using MSAL.js. When the user first logged in an authorized account (which is user ...
Ibrahim Schi's user avatar
0 votes
3 answers
965 views

How to display the binary account image received from msal graph API?

I am able to query the msal graph api by using https://graph.microsoft.com/v1.0/me/photo/$value but once I have the response, which based on [the documentation][1] is a binary value, I am unable to ...
entropy283's user avatar
0 votes
0 answers
35 views

Issue is when I am not using my application for a long time, after come back and when clicking any tab its redirects to the login page using MSAL js

Using MSALjs SPA for refrence. MSALjs Library
Vishal Gupta's user avatar
3 votes
1 answer
2k views

Vue - redirect after MSAL loginRedirect

How do I implement the following authentication flow in Vue.js using MSAL loginRedirect()? SourcePage > isLoggedIn() = false > /login > MSAL.loginRedirect() > handleResponse() > ...
Dan Kelly's user avatar
  • 2,702
0 votes
0 answers
283 views

Azure AD B2C - same user with multiple client accounts

I have multiple apps registered with azure AD including UI/API. User attributes contains "customer id", "role" for permissions to the applications. Each user has value for "...
Walnut's user avatar
  • 318
0 votes
1 answer
849 views

Migrate ADAL.js to MSAL.js

I have a SPA which uses the solution provided here to authenticate with Azure AD and everything works as expected. Now I want to migrate this to use MSAL.js. I use below for login: import * as MSAL ...
alital's user avatar
  • 431
1 vote
1 answer
4k views

vue-msal could not resolve endpoints. Please check network and try again. Details: function toString() { [native code] }

ClientAuthError: Error: could not resolve endpoints. Please check network and try again. Details: function toString() { [native code] } at ClientAuthError.AuthError [as constructor] (webpack-...
an liu's user avatar
  • 11