workos-elixir icon indicating copy to clipboard operation
workos-elixir copied to clipboard

Add OAuth token to WorkOS.UserManagement.Authentication struct

Open hexedpackets opened this issue 1 year ago • 0 comments

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.

hexedpackets avatar Jul 22 '24 14:07 hexedpackets