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

Add custom token attributes to Refresh Token Request #1648

Merged
merged 1 commit into from
Mar 23, 2023
Merged

Add custom token attributes to Refresh Token Request #1648

merged 1 commit into from
Mar 23, 2023

Conversation

matthewheath
Copy link
Contributor

Summary

In #1602 the ability to specify custom token attributes was created. However, that PR only affects access tokens - it doesn't cover refresh tokens, so refresh tokens are created without the custom token attribute(s) that the original access token had.

This PR adds those missing custom token attributes (if specified) to the refresh token request process, copying them over from the original access token.

Copy link
Member

@nbulaj nbulaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

LGTM 👍

@nbulaj nbulaj merged commit f749791 into doorkeeper-gem:main Mar 23, 2023
@matthewheath matthewheath deleted the add-custom-access-token-attributes-to-refresh-token branch March 23, 2023 14:31
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.

None yet

2 participants