stevenmaguire / oauth2-keycloak

Keycloak Provider for OAuth 2.0 Client
MIT License
204 stars 151 forks source link

Id_token_hint #68

Open dariuszrup opened 1 year ago

dariuszrup commented 1 year ago

What method should I call to get the access_token that contains the id_token?

   if (isset($options['access_token']) === true) {
                $accessToken = $options['access_token'];

                $params['id_token_hint'] = $accessToken->getValues()['id_token'];
                $params['post_logout_redirect_uri'] = $params['redirect_uri'];
            }
mustafaaloko commented 1 year ago

@stevenmaguire any idea what access_token is supposed to be here as it's expecting that getValues method to be there. Can we directly expect the client to pass the id_token_hint. It's recommended/optional anyways.