AzureAD / azure-activedirectory-library-for-js

The code for ADAL.js and ADAL Angular has been moved to the MSAL.js repo. Please open any issues or PRs at the link below.
https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/maintenance/adal-angular
Apache License 2.0
627 stars 374 forks source link

Redirecting to Homepage with homepage/ADAL# in URL #875

Closed Kavya06 closed 4 years ago

Kavya06 commented 5 years ago

Hi

I am using ADAL-4 for angular 6. But when we redirect the page after Microsoft.Login, it is redirecting to homepage with Adal# in the URL. How to redirect the page without Adal# in the URl.

Please provide some solution

jmckennon commented 4 years ago

Can you provide a bit more context here about how you're using the library? You can set custom a redirectUri in the config passed to AuthenticationContext, which also needs to be registered in the Azure portal. By default, that redirect is window.location.href. Refer to the wiki.

jmckennon commented 4 years ago

Closing this as we're assuming this is no longer an issue. We recommend that everyone switch to msal js here for advanced features and bugfixes.