# Custom Github Identity Provider and its OpenID Connect Config

**URL:** <https://forum.keycloak.org/t/custom-github-identity-provider-and-its-openid-connect-config/1633>\
**Category:** Configuring the server\
**Tags:** admin-console, authentication, oidc\
**Created:** [March 10, 2020, 4:01pm UTC](https://forum.keycloak.org/t/custom-github-identity-provider-and-its-openid-connect-config/1633 "2020-03-10T16:01:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhelmcodes](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@jhelmcodes](https://forum.keycloak.org/u/jhelmcodes)\
**Post date:** [March 10, 2020, 4:01pm UTC](https://forum.keycloak.org/t/custom-github-identity-provider-and-its-openid-connect-config/1633/1 "2020-03-10T16:01:19Z")

</div>

Hi everyone,

i successfully tried to use the Identity Provider of Github that is already configured by Keycloak. Now i am trying to do the same but as new OpenID Connect Identity Provider. I just used `https://github.com/login/oauth/access_token` as Token Endpoint `https://github.com/login/oauth/authorize` as Authorization Endpoint and `https://api.github.com/user` as User Endpoint. I am storing tokens, the stored tokens are readable, i configured the client id and the client secret, also i am sending the client secret as post. The remaining configuration is still default.

Nevertheless it doesn’t work. I am receiving a successful response with an 200 OK Code, but without the body or an access token. I just used Github to understand how i have to configure my own external identity provider. What kind of configuration did i miss? Would be great if someone could help me 🙂
