Answer the question
In order to leave comments, you need to log in
How to correctly issue a JWT token after SAML authorization?
Actually, there is a certain client application that can go to the service that issues the jwt token, which is used to communicate in the future. Now I need to add SSO authorization before issuing a JWT token. I use the Spring SAML extension for this, and I'm actually interested in whether a valid flow can be used for such a case:
1. The web application sends a GET request to /sso/auth-endpoint
2 The SpringSecurity context is analyzed and if there is an anonymous user, a 401 error is returned to the client
3. As a result, the angular application will redirect to the SSO server where the user enters his credentials
4. A long chain of filters is launched, where I added my
.addFilterAfter(jwtProducerFilter, BasicAuthenticationFilter::class.java)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question