Skip to content

v2.0.0

Choose a tag to compare

@hg2-app hg2-app released this 08 Apr 12:08
· 4 commits to main since this release

2.0.0 (2026-04-08)

  • feat(token)!: return full OAuth2 token response instead of user params (8c5b86a)

BREAKING CHANGES

  • Kinde.token/4 now returns {:ok, token_response, extra_params}
    instead of {:ok, user_params, extra_params}. The token_response map contains
    the complete OAuth2 response including raw JWTs, decoded claims for both access
    and id tokens, refresh token, expiry, scope, and token type.

Callers must update their pattern match and access user data via
token_response.id_token_claims instead of the previous user_params map.