java - Spring security OAuth2 JWT stateless Implicit -
i have restful api secured spring security using oauth2 using resource owner credentials grant , jwt tokens. scheme works fine when in comes internal clients plus chosen due stateless nature, allow third party developers integrate api , above mentioned grant not best solution, instead implicit and/or authorization code scheme preferred.
after checking on different spring security samples have seen whenever implicit or , authorization code used, authentication state-full, correct me if wrong oauth2 spec not specify session needed in step.
so questions are:
- is possible configure stateless authentication following grant schemes?
- is there reason why samples based on http session?
best,
Comments
Post a Comment