Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to make identity provider oauth callback: org.keycloak.broker.provider.IdentityBrokerException: No token from server #333

Open
mithunglares opened this issue Jun 15, 2020 · 0 comments

Comments

@mithunglares
Copy link

  • We have configured Keycloak Client as the Oauth Client(Requests as OpenId-connect)(frontend)
  • We are using Facebook as the Oauth Server(Responds as Oauth)(backend)
  • Trying to use SATOSA as a translate proxy

Code Version

  • Keycloak version - 3.4.3.Final
  • Satosa version - SATOSA-6.1.0

Expected Behavior

Expecting to login to my keycloak client in house after authentication from Facebook Oauth Server

Current Behavior

We are prompted with an error in keycloak logs that "Failed to make identity provider oauth callback: org.keycloak.broker.provider.IdentityBrokerException: No token from server."

  1. Any request from keycloak client using OpenId-connect expects a token exchange in response, since we are here trying to use Oauth Server(Facebook).
  2. Indicating it is expecting a token as a response from Satosa backend , and hence failing authentication

Possible Solution

  1. Request you to help suggest how we configure a token as a response in addition to the response from Oauth server.
  2. Any examples related to configuration of Satosa. When trying to translate between OpenID-connect and Oauth should be very useful.

Steps to Reproduce

  1. The zip file containing our satosa config is attached for reference
  2. The access_token can be generated using the below command.
    curl -X GET "https://graph.facebook.com/oauth/access_token?client_id={}&client_secret={}&grant_type=client_credentials"
    Satosa.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant