Skip to content

Conversation

michalvavrik
Copy link
Member

@michalvavrik michalvavrik commented Aug 21, 2025

The io.quarkus.oidc.token.propagation.AccessToken annotation was deprecated and marked for removal in Quarkus 3.19 in the #45923, so there were 2 LTS (3.20 and 3.27), which is why I think it is safe to drop the annotation in Quarkus 3.28.

This comment has been minimized.

@michalvavrik michalvavrik force-pushed the feature/drop-deprecated-accesstoken-ann branch from bba2adf to 822b822 Compare August 21, 2025 19:01

This comment has been minimized.

@michalvavrik michalvavrik force-pushed the feature/drop-deprecated-accesstoken-ann branch from 822b822 to 9ad2907 Compare August 21, 2025 19:09
@michalvavrik
Copy link
Member Author

I think there is something wrong with the Initial JDK 17 Build. It happened to me in the past, I'll just wait a bit till it is in a better mood. cc @gsmet

This comment has been minimized.

@michalvavrik michalvavrik force-pushed the feature/drop-deprecated-accesstoken-ann branch from 9ad2907 to 60eaa8c Compare August 21, 2025 20:56

This comment has been minimized.

@sberyozkin
Copy link
Member

CC @cescoffier I agree with @michalvavrik it is OK to drop the deprecated annotation now after 2 LTSs (and corresponding product releases) but CC-ing to you just in case you think we should wait for longer

@sberyozkin sberyozkin requested a review from cescoffier August 21, 2025 21:17
@michalvavrik
Copy link
Member Author

I'll open PR for the security-openid-connect-client-quickstart QS tomorrow.

@michalvavrik
Copy link
Member Author

It is really my fault, I should had done it when I deprecated the annotation, but forgot.

@michalvavrik
Copy link
Member Author

@sberyozkin
Copy link
Member

@michalvavrik Np at all, I could've checked the quickstart myself too when it was deprecated.

The quickstart guide in the docs does not show the deprecated one.

It is unlikely users haven't noticed they may have a deprecated annotation in their code, so we should be good to merge. I'd just like to wait a bit for Clement's input, but otherwise, given 2 main product releases have had this annotation deprecated, we should be safe to drop it

@sberyozkin
Copy link
Member

sberyozkin commented Aug 22, 2025

@michalvavrik Just to double check, the current main will not be a base for 3.27 LTS ? If it is going to be a base for 3.27 then I think we should wait until 3.27 is branched

@michalvavrik
Copy link
Member Author

@michalvavrik Just to double check, the current main will not be a base for 3.27 LTS ? If it is going to be a base for 3.27 then I think we should wait until 3.27 is branched

no, you can see it on my other PRs, they have tag 3.28.

@michalvavrik
Copy link
Member Author

e.g. #49647

@cescoffier
Copy link
Member

I think it's ok to drop the property. It will still require a note in the migration guide and the release notes.

Copy link
Member

@cescoffier cescoffier left a comment

Choose a reason for hiding this comment

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

Can we check the CI issue before merging?

@michalvavrik michalvavrik force-pushed the feature/drop-deprecated-accesstoken-ann branch from 60eaa8c to fa5fbd3 Compare August 25, 2025 07:32
@michalvavrik
Copy link
Member Author

Can we check the CI issue before merging?

I have rebased on the current main, since the QuickStart PR is merged, the PR CI should be green now.

Copy link

quarkus-bot bot commented Aug 25, 2025

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit fa5fbd3.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.

@michalvavrik michalvavrik added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Aug 25, 2025
@geoand geoand merged commit 3d44c27 into quarkusio:main Aug 25, 2025
26 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.28 - main milestone Aug 25, 2025
@quarkus-bot quarkus-bot bot removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Aug 25, 2025
@michalvavrik michalvavrik deleted the feature/drop-deprecated-accesstoken-ann branch August 25, 2025 10:55
@michalvavrik
Copy link
Member Author

Here is a proposal for the migration guide note:

The @AccessToken annotation has been permanently removed from the io.quarkus.oidc.token.propagation package. This change completes the relocation process that began in Quarkus 3.19, where the annotation was moved to io.quarkus.oidc.token.propagation.common while a temporary copy was kept in the original location for backwards compatibility. No action is required if you update your application using the Quarkus CLI, as it automatically handles this change. However, if you are not using the Quarkus CLI, you will need to manually update your imports to reflect the new package.

If someone agrees, you can add it, or wait till Sergey is back. This shouldn't be urgent.

rsvoboda added a commit to rsvoboda/beefy-scenarios that referenced this pull request Aug 28, 2025
…dc.token.propagation.common.AccessToken

io.quarkus.oidc.token.propagation.AccessToken was deprecated since 3.19 and removed for 3.28
quarkusio/quarkus#49667
rsvoboda added a commit to quarkus-qe/beefy-scenarios that referenced this pull request Aug 28, 2025
…dc.token.propagation.common.AccessToken

io.quarkus.oidc.token.propagation.AccessToken was deprecated since 3.19 and removed for 3.28
quarkusio/quarkus#49667
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

io.quarkus.oidc.client.* packages are split across multiple modules
4 participants