summaryrefslogtreecommitdiff
path: root/README.md
blob: eee3f42c4540f275dd4c835a233ba85168713bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# jesterpm-sso-tools

Utilities for working with OAuth2 / IndieAuth endpoints.

I built this specifically for working with my own OAuth2 provider, but it could
reasonably work with any provider that supports the OAuth device flow. 

## Usage

Usage: sso [OPTIONS] [COMMAND] [ARGS]

Commands:
  login - default: get or renew an access token
  curl  - pass the access token to curl
  token - print the current bearer token
  setup - configure the profile

Setup options:
  --scope <SCOPE>          Request an additional scope
  --endpoint <URL>         The jesterpm-sso endpoint
  --ssh-key <FILE>         Sign the given SSH key.