umbraco / UmbracoIdentityExtensions

Code files & installation that enables easy extensibility points for ASP.Net Identity and the Umbraco back office
MIT License
38 stars 23 forks source link

Question: IdentityServer3 or 4 possible #18

Closed nigel-dewar closed 7 years ago

nigel-dewar commented 7 years ago

Hi there,

Please excuse if this question has already been answered, I am BRAND NEW to the Umbraco community.

My query is, can UmbracoIdentityExtensions be used with IdentityServer3 or 4?,

And if so, is there any Umbraco sample hooked up with IdentityServer3 or 4 that one can reference?

Cheers

nigel-dewar commented 7 years ago

Hi There,

Just a friendly ping to see If I can get an answer on this. Doing some research for work to see how we can use Umbraco

Shazwazza commented 7 years ago

Yes it will work but will require some configuration, i unfortunately don't have an example for you. Identity server uses OpenIdConnect so that is the provider you would need to use (similar to the Azure AD one: https://github.com/umbraco/UmbracoIdentityExtensions/blob/master/src/App_Start/UmbracoADAuthExtensions.cs )

Shazwazza commented 7 years ago

Might be worth asking on the forum if anyone has hooked this up: https://our.umbraco.org

nigel-dewar commented 7 years ago

Cool thanks for this. I can see now what I will need to do.

Should be sweet as hooking it up

Cheers mate.

Shazwazza commented 7 years ago

I'd love to ship with an example of that too since it's probably a common provider people will want to use. Let me know how you go.

nigel-dewar commented 7 years ago

Thanks mate I certainly will.

and cheers again for the link, that had exactly what I needed to progress

:-)

paulsterling commented 7 years ago

@nigel-dewar Just as you asked someone in the community seems to have the answer:

https://yuriburger.net/2017/04/26/login-to-umbraco-backoffice-using-identityserver4/

nigel-dewar commented 7 years ago

Oh Sweet thats awesome! Thanks so much for posting on this.

cheers.

Shazwazza commented 7 years ago

Nice, though you don't need the Install-Package UmbracoCms.IdentityExtensions.Microsoft package, that is for the Microsoft OAuth provider, all you need is Install-Package UmbracoCms.IdentityExtensions and then install the package Microsoft.Owin.Security.OpenIdConnect

Great post, i'll link to the docs.

Thanks!