Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ID Token for access token possible? #976

Open
t3touch opened this issue Oct 20, 2022 · 1 comment
Open

ID Token for access token possible? #976

t3touch opened this issue Oct 20, 2022 · 1 comment

Comments

@t3touch
Copy link

t3touch commented Oct 20, 2022

How can I add an ID Token to the access tokens?

@t3touch
Copy link
Author

t3touch commented Oct 20, 2022

I think I got it 😃
Or is another way recommended?

// Try to respond to the request
$result = $server->respondToAccessTokenRequest($request, $response);
$result->getBody()->write(json_encode(['id_token' => 'test'])); // this is the line that adds the id_token to the response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant