We have existing mvc application with episerver cms 10. That application performs well. But we now have requirement to implement adfs in existing application. I checked different links on internet regarding this. I can see that it is straight forward for new application but can't find clear guide on how to implement it with existing application. We have lot of existing users in website using sql server membership and ad authentication. How it will behave with ADFS? Please provide me correct guide and links for this?
-
1Welcome to SO. Could you describe your issue in more detail, please? E.g. by adding the related commands, code snippets or configuration infos... Otherwise your issue might be classified as off-topic as defined in the Help Center. Thanks.CKE– CKE2018-09-11 07:11:19 +00:00Commented Sep 11, 2018 at 7:11
-
This link might be helpful world.episerver.com/blogs/K-Khan-/Dates/2017/10/…Johan Petersson– Johan Petersson2018-09-11 11:02:03 +00:00Commented Sep 11, 2018 at 11:02
Add a comment
|
2 Answers
I'm guessing you want to continue to use both SQL users and AD users(?).
First migrate to AspNetIdentity as described here: https://world.episerver.com/blogs/K-Khan-/Dates/2017/10/migrate-from-sql-membership-to-asp-net-identity/.
Then you can add authentication with ADFS as described here: https://hacksbyme.net/2017/05/07/single-sign-on-to-episerver-with-adfs-using-owin/
Finally add the possibility to login with both AD users, and local SQL users: https://hacksbyme.net/2017/05/11/mixed-mode-owin-authentication-for-episerver-editors/
2 Comments
Amol Kothawade
Hi Erik, Thank you for your reply. I am implementing same solution and it looks like I am on correct path. :) It is really helpful
Amol Kothawade
Hi, After implementing, I am getting following error IDX10214: Audience validation failed. Audiences: 'https://". Did not match: validationParameters.ValidAudience: 'https://' or validationParameters.ValidAudiences: 'null'. Please help me on this