Skip to content

Custom and flexible OpenID Connect IdP for research and PoC purposes

License

Notifications You must be signed in to change notification settings

lauritzh/oidc-custom-idp

Repository files navigation

Custom OpenID Connect Identity Provider

Custom and flexible OpenID Connect IdP for research and PoC purposes - built with Node.js.

Disclaimer: Any information shared within this repository must not be used with malicious intentions. Proof-of-Concepts and tools are shared for educational purpose only. Any malicious use will not hold the author responsible.

Setup

user@laptop:/$ git clone https://github.com/lauritzh/oidc-custom-idp
[...]
user@laptop:/$ cd oidc-custom-idp/
user@laptop:/oidc-custom-idp$ node idp.js 
[+] Example IdP listening for HTTPS on Port 3001 :-)
[+] Example IdP listening for HTTP  on Port 3000 :-)

(This requires Node.js on your machine)

You may add "127.0.0.1 poc.local" to your /etc/hosts-file, so that you can reach the IdP at https://poc.local:3001/

Modifications

You may manually modify the id_token generation by setting useJWTLib to false and adjusting createIdToken().

About

Custom and flexible OpenID Connect IdP for research and PoC purposes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published