Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 944 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 944 Bytes

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().