Skip to main content

Currently trying to create a CustomSecurityProvider  with Microsoft.Identiy.Client / OpenID authentication.   

 

I'm currently stuck on the  'AuthenticateUser' method.     All other examples I've seen have access to username and password.    To acquire a token requires going to a website and signing in with your Google/Facebook  etc in my requirements.

 

So I'm not entirely sure how/when the authenticate user is called  and how to proceed if parameters for it are not known.

Hello,


 


The parameters are gathered from an encoded Smartforms runtime URL which is used as redirect for authenication. If you have multiple issuers, you may have to manipulate the link to skip the selection page and login with the created Service Provider. You could also setup a secondary runtime site. You can build your own endpoint assembly utilizing the URLEncode class to generate these encoded redirection URL with http://www.vcskicks.com/encode-url.php .


Reply