ms-adal-angular6 | wrapper library | Azure library
kandi X-RAY | ms-adal-angular6 Summary
kandi X-RAY | ms-adal-angular6 Summary
This is a wrapper library for Angular 6+ (Angular 6.X.X and Angular 7.X.X) modules over Microsoft ADAL (Azure Active Directory Authentication Library)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ms-adal-angular6
ms-adal-angular6 Key Features
ms-adal-angular6 Examples and Code Snippets
Community Discussions
Trending Discussions on ms-adal-angular6
QUESTION
I have an Angular 7 application using the ms-adal-angular6
library and am trying to determine my code flow.
I am properly authenticating to AAD with a user who is currently logged in with their AAD account. I get a fully populated MsAdalAngular6Service variable with all properties filled in.
Where in this process do I determine if the login failed? My code is as follows:
...ANSWER
Answered 2019-Oct-28 at 07:06When authenticating with AAD, the process is handled independently in "AAD portal", instead of your website. When login is successful, AD portal will redirect to "redirect url" you set with valid token.
But if login failed, an error page like below appears and it will NOT redirect:
Besides, this page is not allowed to customized. So you can't put another login link or some notification for user in here.
Regarding your requirement, a good practice is to provide a page for users to choose to login from AAD or with their individual accounts.
In ms-adal-angular6
, you can set popUp:true
then the login page will appear in pop-up window, not a new page. When login failed, the user just needs to close the window then choose another login method.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ms-adal-angular6
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page