8000 Add scope parameter to admin-client TokenManager. by mteubner · Pull Request #10984 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Add scope parameter to admin-client TokenManager. - #10984

Merged
pedroigor merged 2 commits into
keycloak:mainfrom
GK-Software-AG:feature/10759_ADD_SCOPE_FOR_TOKEN_MANAGER
Mar 31, 2022
Merged

pedroigor merged 2 commits into
keycloak:mainfrom
GK-Software-AG:feature/10759_ADD_SCOPE_FOR_TOKEN_MANAGER

Conversation

@mteubner
@mteubner mteubner commented Mar 29, 2022 •
Copy link
Copy Markdown
Contributor

Add scope parameter to admin-client TokenManager.

Closes #10759

Closes #11032

@mteubner
Copy link
Copy Markdown
Contributor Author

@pedroigor Hi, could you have a look if this is something that would make sense, and if so give me a comment on that. I merged it against your new changes.

@pedroigor pedroigor left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks.

Could you please provide a test here https://github.com/keycloak/keycloak/blob/d27635fb1b2cf6c411902357cd6fbad7498d102b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/AdminClientTest.java?

Perhaps you can look at the access token returned by the server and see if the claims/scope are there as expected.

@mteubner
Copy link
Copy Markdown
Contributor Author

@pedroigor Do you think the test is sufficient?

@pedroigor
Copy link
Copy Markdown
Contributor

@mteubner Thanks, it is.

@mteubner
mteubner commented Mar 31, 2022 •
Copy link
Copy Markdown
Contributor Author

Sorry that I pulled you in on that Request, but I saw you changed something on the client as the last person. ;)

What would be the next step to promote this feature?

@pedroigor
pedroigor merged commit b5f70d8 into keycloak:main Mar 31, 2022
@pedroigor
Copy link
Copy Markdown
Contributor

@mteubner I think I merged too fast ... I missed the issue and the commit properly updated referencing the issue :)

@mteubner
Copy link
Copy Markdown
Contributor Author

The issue in the pipeline is not exclusive to this branch it also happends in most of the other pull-requests currently. So, I don't think it is due to the changes of this branch.

What do you mean be properly update the referencing? Shall I do something here?

@pedroigor
Copy link
Copy Markdown
Contributor

Yes, it is not related.

I meant I should have asked you to create an issue and update the commit message (and squash to a single one). But now is late :) Sorry.

@mteubner
Copy link
Copy Markdown
Contributor Author

No worries. It is me that should apologize. Anyhow, I think it is a good feature.

I also created Idea #10759, before, shall I clone an issue from that?

@pedroigor
Copy link
Copy Markdown
Contributor

@mteubner Please ... Then I'll update to include the project/milestone.

@mteubner
Copy link
Copy Markdown
Contributor Author

I created an enhancement task #11032

@pedroigor
Copy link
Copy Markdown
Contributor

Thanks

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.

Possibility to add scope to admin-client TokenManager

2 participants

0