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.
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/
You may manually modify the id_token
generation by setting useJWTLib
to false
and adjusting createIdToken()
.