# Keycloak authentication like GitHub

**URL:** <https://forum.keycloak.org/t/keycloak-authentication-like-github/3555>\
**Category:** Securing applications\
**Tags:** admin-console, authentication, oidc\
**Created:** [June 30, 2020, 10:02am UTC](https://forum.keycloak.org/t/keycloak-authentication-like-github/3555 "2020-06-30T10:02:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![harshmanvar](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/harshmanvar/32/1067_2.png) [@harshmanvar](https://forum.keycloak.org/u/harshmanvar)\
**Post date:** [June 30, 2020, 10:02am UTC](https://forum.keycloak.org/t/keycloak-authentication-like-github/3555/1 "2020-06-30T10:02:21Z")

</div>

i am looking for help how t setup authentication like Github using keycloak.

i am using Kong API gateway with keycloak along with OIDC plugin.

as in GitHub we have **organization**** repo **and each** user **has** different** access in an organisation repo (read/write) or i can add a specific user to the organisation with only one repository access.

i think Github manage this by forming URL

**[https://github.com/org-name/username/reponame](https://github.com/org-name/username/reponame)** and restricting user at API gateway level if no access there.

can someone please help me how to achieve it using same with keyclaok and kong API gateway.
