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

When emulated user requests new access token, set emulator user id. #30

Conversation

Nika-Simonishvili
Copy link

@Nika-Simonishvili Nika-Simonishvili commented Sep 3, 2024

If emulated user's access token is expired and new token is generated via refresh token, use InternalRefreshTokenGrant::respondToAccessTokenRequest() method instead of RefreshTokenGrant::respondToAccessTokenRequest and specifically check if old token had emulator_user_id. If so, set it to the new token as well.

@akalongman akalongman merged commit 76a4d83 into akalongman:master Sep 4, 2024
0 of 2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants