I need to integrate with CAS, which is a authentication provider used by educational institutions similar to what google and facebook offer. I have a library which does the following:
I have all that working. My problem is that I get this exception on return to the site:
Method is only supported if the user name parameter matches the user name in the current Windows Identity.
I assume this is because I have a principal which does not exist in Kentico. I am wondering what the right way to handle this is. My ultimate goal is that after a user logs in with the 3rd party auth, they return to the site, and if they have not logged in before, they create a kentico profile.
Any help or suggestions are greatly appreciated, Jonathan
Sounds like you might have Windows Authentication turned on based on your error message.
Please, sign in to be able to submit a new answer.