question

AnjaliBansal-7129 avatar image
0 Votes"
AnjaliBansal-7129 asked shashishailaj edited

Adal Login redirection issue

I am using angular -8 and adal authentication.

Sometimes I face issue, while first time opening the app, page stuck on Microsoft login screen. and doesnt come back after

adal.login()

scenario-2 ) when token expires and app goes to login , then again it stucks at login screen.

I'have handled the callback but still not working.

"adal-angular": "^1.0.17",
"adal-angular4": "^3.0.16",

I am using these libraries.
Some users are facing issue in chrome, some are facing in edge.


Thanks!

azure-ad-adal-deprecation
· 3
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.

@AnjaliBansal-7129 ,
Could you please post exact errors that users are getting
Is this intermittent for users or consistent for those users ?

0 Votes 0 ·

It is consistent, but after hard refresh it works.

Error is attached..Screen stucks here, but after ctrl+f5 it start working.

166686-er.png


166694-er.png


0 Votes 0 ·
er.png (9.1 KiB)
er.png (9.1 KiB)
shashishailaj avatar image shashishailaj AnjaliBansal-7129 ·

@AnjaliBansal-7129 ,
ADAL is an old library and we generally recommend everyone to use the newer MSAL for their applications . As you mentioned its happening for a few users only and not everyone however there is no error message and it is difficult to provide any recommendation without a deeper understanding of the issue. A fiddler trace may help in understanding the details. This seems more like a browser side issue but I cannot confirm the same . It could be due to some cookie setting within the browser or something else as well. I would suggest to try to update to the latest version of the browser to see if that helps.



0 Votes 0 ·

0 Answers