This example shows how OpenID Connect can be used for members in Umbraco. It's a complete Umbraco solution with a SQLite database. Everything is already configured correct so you can just download the project and run it.
It's based on the external login providers documentation:
https://docs.umbraco.com/umbraco-cms/reference/security/external-login-providers
There are two versions of this example. The v13 version can be found in Umbraco-OpenIdConnect-Example.Web
, which references Umbraco-OpenIdConnect-Example.Core
. The v14+ version has been completely rebuilt and can be found in Umbraco-OpenIdConnect-Example-v14+
, offering full compatibility with Umbraco v14 and above.
Backoffice credentials:
Username umbraco-openidconnect@mailinator.com Password AKXT9fJGqBvKCVK5TqNZExternal member credentials:
Username openidconnect-example@mailinator.com Password juSp#&uf4a+omLkigItoTip
I also created a fork of the Umbraco Delivery API - member auth demo. It adds support for external login providers. See this pull request for all the changes. You can also find more info in this blog.
Getting startedYou can watch a getting started video here: https://youtu.be/cklH7DtRDIQ
Online presentationYou can watch my online presentation here: https://youtu.be/I4ysh-czrYk
Important filesAll important files that are used for this setup are in the Umbraco-OpenIdConnect-Example.Core
project.
There is a free Auth0 account that this project connects with. The Client ID and Client Secret are already configured for that. Normally the Client Secret should not be in Github, but these settings are only used in this example so it's ok they are public. This is the project:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4