I am trying to use Windows Azure Active Directory as an identity provider for my MVC 4 application and have to figure out how to implement the user registration feature. I know that the Graph API can be used to update WAAD. However, after reading http://msdn.microsoft.com/en-us/library/windowsazure/dn151791.aspx , I realized that in order to use the Graph API, the user must authenticate through WAAD in the first place, only then he will receive a token that will be used with Graph API. But what if I have an unregistered user who wants to register? How to create an entry for it in WAAD? Can I use the Service Principle in any way to get a token, bypassing the user who needs to log in? How can I do this if so?
I would be very grateful if you can point me in the right direction and provide me with a series of steps, tutorials, and code examples that I can use to solve my problem.
source share