This Sitefinity CMS app demonstrates how to connect to an OpenId Connect Provider like OneLogin for user authentication.
Password Grant flow is used to capture the username/password and authenticate against OneLogin without redirecting the user to a hosted login page.
The main code for login widget can be found in MVC/Controllers/LoginController.cs
- Update
ClientId
andClintSecret
inOidcOptions.cs
- Update settings in
AuthenticationConfig.config
. Read more in Sitefinity developer documentation.
In order to make this sample work with OneLogin you will need to create an OpenId Connect app in the OneLogin portal. See OneLogin developer documentation for more details.
This project is licensed under the MIT license.