Skip to content

Conversation

@wjglerum
Copy link
Contributor

@wjglerum wjglerum commented Jun 16, 2020

I was trying to work on adding a custom property to my identity and found this guide. The example code didn't work so I tried to rewrite it. https://quarkus.io/guides/security#security-identity-customization

Feedback highly appreciated 😄

One more question? How do we access the id or access token from here? I tried injecting the token in several ways but on runtime it was not available with either option and it resulted in a ContextNotActiveException:

@Inject
JsonWebToken jwt;

@IdToken
JsonWebToken idToken;

Copy link
Member

@sberyozkin sberyozkin left a comment

Choose a reason for hiding this comment

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

@wjglerum thanks

@sberyozkin sberyozkin added this to the 1.6.0 - master milestone Jun 16, 2020
@sberyozkin sberyozkin merged commit 667b9b4 into quarkusio:master Jun 16, 2020
@sberyozkin
Copy link
Member

Hi @wjglerum

I've opened #10054, thanks

@wjglerum
Copy link
Contributor Author

Awesome, thanks for the quick feedback!

@gsmet gsmet modified the milestones: 1.6.0 - master, 1.5.2.Final Jun 18, 2020
@wjglerum wjglerum deleted the security-docs branch August 17, 2021 14:54
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.

3 participants