Skip to content

Refresh token should not be issued if client is not configured with refresh_token grant type#155 #168

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

Closed
wants to merge 2 commits into from

Conversation

lspil
Copy link

@lspil lspil commented Nov 28, 2020

A refresh token was generated even if the client didn't have the refresh token grant type assigned.
The refresh token is now generated only for a client registered for the refresh token grant type.

Closes gh-155

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 28, 2020
@lspil
Copy link
Author

lspil commented Nov 28, 2020

Hi, This issue seems to be a fault of mine not often working with GitHub. My pull request that solves #155 created this as a new issue. Sorry for this problem. This should be closed as a duplicate. However, I'm not sure. Is it enough to use the same name for the commit to the issue for this problem not to happen again?

Copy link
Collaborator

@jgrandja jgrandja left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @lspil !

Just so you are aware of the PR process, after you submit a PR it does create a new type of issue and therefore resulting in 2 issues - the original issue and the PR issue. This is the normal process. After we merge the PR, we will close it and label as a duplicate.

@jgrandja jgrandja self-assigned this Dec 3, 2020
@jgrandja jgrandja added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Dec 3, 2020
@jgrandja jgrandja added this to the 0.1.0 milestone Dec 3, 2020
@lspil lspil requested a review from jgrandja December 5, 2020 11:10
@jgrandja jgrandja added the status: duplicate A duplicate of another issue label Dec 8, 2020
jgrandja added a commit that referenced this pull request Dec 8, 2020
@jgrandja
Copy link
Collaborator

jgrandja commented Dec 8, 2020

Thanks for the updates @lspil ! This is now in master.

FYI, I added a polish commit via 8c71e56.

@jgrandja jgrandja closed this Dec 8, 2020
doba16 pushed a commit to doba16/spring-authorization-server that referenced this pull request Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refresh token should not be issued if client is not configured with refresh_token grant type
5 participants