Skip to content

A cutdown version of XOAuth from Xero, for example and library use

Notifications You must be signed in to change notification settings

ninja-software/xoauthlite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XOAuth lite

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

Supported grant types

Example

go run cmd/allinone/main.go

Disclaimer

Not production ready

About

A cutdown version of XOAuth from Xero, for example and library use

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages