A simple Debugger for OpenID Connect IdPs.
You ever needed to quickly check if the IdP works? What the user endpoint returns? Get the token?
Then this is a simple command line utility for that use case.
There are some online tools for that but they either need a server or use cors. This tool is a simple go binary that just runs on your computer.
Run the binary. It will show the help. It will work something like that:
openidcheck -clientid test -endpoint https://idp.example.com -secret 1234 -verbosity 3
It will automatically use the well-known definition of the server.
For Keycloak you might need to specify the realm. Use it something like:
openidcheck -clientid test -endpoint https://idp.example.com/realms/yourRealm -secret 1234 -verbosity 3