Skip to content

Seeing a weird exception after a successful login #43719

Answered by mkouba
stevesobol asked this question in Q&A
Discussion options

You must be logged in to vote

AFAIK you always need to implement both IdentityProvider<UsernamePasswordAuthenticationRequest> and IdentityProvider<TrustedAuthenticationRequest> if using form-based authentication. At least that's what quarkus-security-jpa generates and I also used it successfully with my apps. The IdentityProvider<TrustedAuthenticationRequest> implementation is used to authenticate request from an encrypted cookie.

In other words, if an IdentityProvider<UsernamePasswordAuthenticationRequest> succeeds the authentication information is stored in an encrypted cookie which is sent with a follow-up requests and for these requests the IdentityProvider<TrustedAuthenticationRequest> is used to build a Security…

Replies: 2 comments 15 replies

Comment options

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

@sberyozkin
Comment options

@michalvavrik
Comment options

@mkouba
Comment options

mkouba Nov 26, 2024
Collaborator

Answer selected by michalvavrik
@sberyozkin
Comment options

@mkouba
Comment options

mkouba Nov 26, 2024
Collaborator

@sberyozkin
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
env/windows Impacts Windows machines
5 participants