Sitefinity 10 with custom OpenID auth provider - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Sitefinity 10 with custom OpenID auth provider

  • Yeah, changing the default STS in Sitefinity was a false start as it will never create the user in Sitefinity after authenticating with the custom STS. 

    If you take a look at the default login page that Sitefinity creates you'll see the link to your custom STS if something like this

    sitefinityUrl/.../external

    I'm guessing Sitefinity stores the correct page to return to in the database against that Guid.

    I was hoping there would be a way to edit the code on the default login page to add some JavaScript to fire the link to the custom STS immediately onload. Unfortunately the /Sitefinity/Authenticate/OpenID/login doesn't seem to be listed under /Sitefinity/Administration/BackendPages

     

  • Hi ,

    I am currently working on the configuration on Sitefinity application with External Authentication based on the posts above and the steps mentioned in the link docs.sitefinity.com/for-developers-configure-custom-external-openid-connect-provider.

    For my application, the Identity server application user is authenticated successfully in the external STS application but it redirects me back to the Homepage of my Sitefinity application (which is my login page). Even if I try to access urls of other pages in CMS, the "Redirect URi" doestn't work. 

    Can anybody suggest as how can i Modify the "Redirect URi" so that i can get the Sitefinity application redirected to the page i precisely want to ?

    Thanks,

    Alka

  • I never got the redirect url to work properly on Sitefinity nor patience to submit a ticket about it (redirect works w/ same config on my Angular2 site).  I did a hackish thing where I set a cookie in OnUnauthorizedAccess event in Global.asax.cs file before the person sent to the identity server then on the homepage, have a little javascript that looks for that cookie and redirects if it exists.  Would love to know also if others got it working properly.