OAuth Grants

List Grants

Return the set of (user, client) grants with at least one active token.

Active = at least one access token not revoked-and-not-expired, OR at least one refresh token not used and not expired. This catches both the "fresh authorization" case and the "user is mid-rotation" case.

get/v1/oauth/grants

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/v1/oauth/grants
  • Auth: OAuth 2 (password, token URL /v1/auth/login)

Response

Successful Response

client_idstring required
client_namestring required
scopestring required
granted_atstring required
last_used_atstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.