Skip to content

Release v3.165.3

Choose a tag to compare

@github-actions github-actions released this 30 Nov 15:16
5e12473

Direct token exchange, refresh and revocation only use endpoints that belong to the configured issuer.

Changed

  • Logins made with an earlier version have no recorded endpoint origins and need a new cratis direct login before refreshing or revoking

Security

  • Token exchange, refresh and revocation endpoints must share the issuer's scheme, host and port, and these requests never follow HTTP redirects
  • An issuer that serves tokens from another origin can be approved in the user configuration (direct.issuerEndpoints); project configuration and server metadata cannot approve extra origins
  • Each login records its endpoint origins; refresh and revocation require a new cratis direct login when they change, so a stored refresh token is never sent to a different endpoint