Instead of using the regular membership provider for frontend Umbraco users, I want frontend users to login through an external provider via OAuth 2.0
I have read about ASP.NET Identity. I have found this sample solution from Microsoft on how to use the WebAuthenticationBroker class to connect top OAuth providers. I also found Shazwazza's UmbracoIdentity.
However, I am not clear about how all this plugs together. Is there an example, or a video, for how to use an external OAuth login provider with Umbraco? I can code it only once I understand the concept in detail.
Thank you in advance for your attention to my question.
thank you for your suggestion. I have been playing with UmbracoIdentity now for the last week and I learned a lot. I got the basics of the OAuth 2.0 login with Umbraco working and I am happy.
I still have a few details not sorted out though. One is how to gain access to the Umbraco Member inside of an Owin event handler. I have posted a separate question for this here.
I am happy to read that manage things to work. You are working on something that I need at this time :)
Can you can please confirm that you managed to get OAuth authentication working for Umbraco members in the front-end? Is it possible to share the code or concept?
My need is to communicate with a custom OAuth provider (none of the big ones) and to allow access to a protected section of the website.
All the code you need should be created when you install the UmbracoIdentity package using Nuget. It creates a folder with the required views and also controllers.
Member login via OAuth 2.0
Hello Umbracians,
I am on Umbraco 8.
Instead of using the regular membership provider for frontend Umbraco users, I want frontend users to login through an external provider via OAuth 2.0
I have read about ASP.NET Identity. I have found this sample solution from Microsoft on how to use the WebAuthenticationBroker class to connect top OAuth providers. I also found Shazwazza's UmbracoIdentity.
However, I am not clear about how all this plugs together. Is there an example, or a video, for how to use an external OAuth login provider with Umbraco? I can code it only once I understand the concept in detail.
Thank you in advance for your attention to my question.
Mikael
Hi Mikael,
I've recently used UmbracoIdentity on a project and it's fairly straight forward to set up, just Nuget install it:
Once it's installed it will create a sample controller and that you can learn from and alter.
Hello Brendan,
thank you for your suggestion. I have been playing with UmbracoIdentity now for the last week and I learned a lot. I got the basics of the OAuth 2.0 login with Umbraco working and I am happy.
I still have a few details not sorted out though. One is how to gain access to the Umbraco Member inside of an Owin event handler. I have posted a separate question for this here.
Hi Mikael,
I am happy to read that manage things to work. You are working on something that I need at this time :)
Can you can please confirm that you managed to get OAuth authentication working for Umbraco members in the front-end? Is it possible to share the code or concept?
My need is to communicate with a custom OAuth provider (none of the big ones) and to allow access to a protected section of the website.
Thank you in advance.
Cheers, Nemanja.
If anyone has an code to share on this, it would be helpful.
Working with UmbracoIdentity also, and Identity Server 4.
Any help would be appreciated.
What are you struggling with Simon?
All the code you need should be created when you install the UmbracoIdentity package using Nuget. It creates a folder with the required views and also controllers.
Thanks Brendan,
I figured it out. Once I'd set it up, it worked without issue.
Appreciate the follow up.
How to?
Glad you got it sorted Simon
Finally: https://our.umbraco.com/documentation/reference/security/external-login-providers/
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.