-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure AD B2C login with Sitecore - Not getting cookies #14
Comments
Did you use this solution, or the Sitecore 9 federated authentication solution? |
Thanks for the update @BasLijten . I am not using Sitecore 9 federated authentication, but used some part of the code to validate the cookies. i.e. if (ctx.Cookies != null && ctx.Cookies[“.AspNet.Cookies”] != null) But for me cookie are not coming and hence this piece of code is not working. Can you please suggest me what may be the problem. |
I really do not understand what kind of solution or middleware you are currently using. I know that there might be some issues with this module and Azure AD B2C, which don't exist with the Sitecore 9 implementation. That might cause your issue? |
I am trying to use a fair simple authentication using Azure AD B2C where from my application I am redirecting properly to B2C login screen and after successful login, I am coming back to the redirect URI what I configured. But after redirecting to my application, I am not able to find the cookies. Just wondering if it is due to any configurations? |
Hi @BasLijten ,
Currently I am working on Sitecore 9 and we have a requirement to include Azure B2C authentication mechanism. Setup wise everything is fine, on successful login we are redirecting back to sitecore site pages, but I am not receiving .AspNet.Cookies cookie. Not sure what the problem is. Can you please guide me.
Regards,
Dilip Kumar
The text was updated successfully, but these errors were encountered: