Trying to create an OpenID Connect provider in my app to provide SSO into SF. I'm using a python library: pyoidc.

However, I keep getting redirected to an error URL...


... Claiming both that there is no Oauth token and that the response is empty.

In my reading of the spec I don't see a requirement for an Oauth token.

The sequence of endpoints hit on my side is:


Any idea what the cause of that error is? Am I reading the spec wrong and I must have an Oauth token?


When your OpenID Connect provider is on localhost, Relying Party (SF) can not send Authorization Code to the localhost to exchange Authorization Code for Access Token and ID Token.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.