Either use OIDC login, as you have found.
Or once you have got a token (without OIDC) perform a API lookup with the token against any of the user (kraken v3/v5 or helix) endpoints with the token and it returns the user.
Calling:
With just a token, (don’t specifiy a user ID or login) will return the user identified by the token you have