Skip to content
Discussion options

You must be logged in to vote

Hi @luca-bassoricci

if any check agains token and current user status on database fails, notify client about invalid authentication (and revoke token, if possibile)

The application can listen on the authentication failure events and revoke tokens, see the second example at https://quarkus.io/guides/security-oidc-code-flow-authentication#oidc-token-revocation, see also https://quarkus.io/guides/security-customization#observe-security-events

create an user session in redis with user+permissions and return to SPA a cookie with some information used in recover user session later (or modify jwt token but I don't think this is possible)

Re the token modification, what exactly do you have in…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@sberyozkin
Comment options

@luca-bassoricci
Comment options

@sberyozkin
Comment options

Answer selected by luca-bassoricci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants