1

I have to implement Intuit's openid authentication in our MVC 5 c# app. On their site, the specify the custom URL to post your authentication requests to: https://openid.intuit.com/OpenId/Provider.

In the base template for an MVC app, I see the ability to enable well known openid providers:

//OAuthWebSecurity.RegisterMicrosoftClient(
//    clientId: "",
//    clientSecret: "");

//OAuthWebSecurity.RegisterTwitterClient(
//    consumerKey: "",
//    consumerSecret: "");

//OAuthWebSecurity.RegisterMicrosoftClient(
//    clientId: "",
//    clientSecret: "");

//OAuthWebSecurity.RegisterTwitterClient(
//    consumerKey: "",
//    consumerSecret: "");

//OAuthWebSecurity.RegisterFacebookClient(
//    appId: "",
//    appSecret: "");

//OAuthWebSecurity.RegisterGoogleClient();

But since I need to connect to some other provider, how do I do it? I assume I need to create a custom provider somehow, but have not been able to find any example of how to do that.

This answer looked promising, but it links out to the actual example and the link is dead.

2

1 Answer 1

1

You do have to create a customer provider. See the code for GenericOpenIdClient.cs in this SO answer.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.