# GitHub as idp with OIDC protocole

**URL:** <https://forum.keycloak.org/t/github-as-idp-with-oidc-protocole/26335>\
**Category:** Miscellanaeous\
**Created:** [June 3, 2024, 3:45pm UTC](https://forum.keycloak.org/t/github-as-idp-with-oidc-protocole/26335 "2024-06-03T15:45:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ghazi](https://avatars.discourse-cdn.com/v4/letter/g/f4b2a3/32.png) [@Ghazi](https://forum.keycloak.org/u/Ghazi)\
**Post date:** [June 3, 2024, 3:45pm UTC](https://forum.keycloak.org/t/github-as-idp-with-oidc-protocole/26335/1 "2024-06-03T15:45:17Z")

</div>

Hello,

I’m trying to integrate Keycloak with a OpenID Connect identity provider (GitHub in my case)

I got the following error:  
ERROR [org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider] (executor-thread-153) Failed to make identity provider oauth callback: org.keycloak.broker.provider.IdentityBrokerException: Could not decode access token response.

Jun Caused by: com.fasterxml.jackson.core.JsonParseException: Unrecognized token ‘access\_token’: was expecting (JSON String, Number, Array, Object or token ‘null’, ‘true’ or ‘false’)

Any idea about to reason of this error ?

How should I configure the Client Authentication (4 options) and Assertion Signature Algorithm (12 options) ?

---

<div class="post-metadata">

**Author:** ![xgp](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/xgp/32/2589_2.png) [@xgp](https://forum.keycloak.org/u/xgp)\
**Post date:** [June 3, 2024, 4:23pm UTC](https://forum.keycloak.org/t/github-as-idp-with-oidc-protocole/26335/2 "2024-06-03T16:23:27Z")

</div>

AFAIK, GitHub is not an OIDC compliant IdP.
