OAuth refresh

When the person chose a lifetime for the token (lifetime_s), the code exchange also returns a refresh_token. A token with no lifetime gets none and the answer is unchanged.

curl -X POST https://<forge>/oauth/token \
  -d grant_type=refresh_token -d refresh_token=<rt> -d client_id=<id> [-d scope=ro]

and leaves a token.deleted event with via: oauth_refresh_reuse.

or the forge revoking it) ends the family too. An access token that merely expires does not: the harness refreshes it.

and are bound to the client that got them. Sign-in-only (OpenID) grants get none.

Which harness holds each OAuth token, on every door: tokens-harness.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs