A cutdown version of XOAuth from Xero, for example and library use
XOAuth provides a simple way to interact with OpenId Connect identity providers from your local CLI. Many OIDC providers only support the Authorisation Code grant - and that means running a local web server to receive the authorisation response, or using something like Postman. These can be tricky to fit into a scripted workflow in a shell.
This tool saves you time, by:
- Managing a local web server to receive the OpenId Connect callback
- Using metadata discovery to build the Authorisation Request
- Verifying the token integrity with the providers's JWKS public keys
go run cmd/allinone/main.go
Not production ready