You can create an MVC 5 application that has integrated individual accounts and uses Sitefinity CMS Security Token Service (STS) as external provider for logging in the MVC 5 application.
You register the MVC 5 application as a client to the Sitefinity CMS STS with implicit flow of credentials.
To do this, perform the following:
You need to configure your MVC 5 application to use Sitefinity CMS STS as identity provider. Thus, when you browse the MVC 5 application and navigate to the login screen, you can see OpenIdConnect button. Clicking this button, you are redirected to Sitefinity CMS login screen and you can use your Sitefinity CMS credentials to login to the MVC 5 application.
For details how to complete the configuration, see the official IdentityServer3 documentation.
NOTE: Make sure when attaching the OpenIdConnectAuthentication middleware, the ClientId corresponds to the one you set when registering the MVC 5 application in Sitefinity CMS.
IMPORTANT: The Authority property needs to point to http://<YourSitefinitySite>/Sitefinity/Authenticate/OpenID
Back To Top