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.
IMPORTANT: Sitefinity CMS can act as external identity provider only via the implicit client authentication flow.
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
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important