workos-elixir
workos-elixir copied to clipboard
Add OAuth token to WorkOS.UserManagement.Authentication struct
Logging in a user with a code returns an OAuth access token and refresh token in the API response. Currently these tokens are discarded when casting the Authentication struct - which also means the claims from the JWT are lost.