stytchauth / stytch-go

Official Stytch Backend SDK for Go
MIT License
47 stars 10 forks source link

AuthenticateJWTLocal does not return custom claims #154

Closed jp-dakota closed 8 months ago

jp-dakota commented 10 months ago

When we use AuthenticateJWT, which calls out to Stytch's APIs, a custom Session is used, which supports custom claims.

In the local version, the intermediary Claims type is used, which does not support custom claims.

jeremy-stytch commented 8 months ago

This should be fixed by #164, which just released as v12.2.1.

Thank you for reporting this!