fhaedl
JCHJava Community | Help. Code. Learn.
•Created by fhaedl on 2/13/2025 in #java-help
SPRING SECURITY
hi guys, ive just started learning about spring securit and i have some question about it. i just add 2 type of authentication regular auth (email + password) and oauth that return a JWT, my problem is those authentication cant be use at the same time, i have to add @Order(1) for specify which auth will be used, even after i changed the api route to be different each others. are there any suggestions for my case? or even is it possible to implement this approach? because i've implemented that and it still only take the higher order and can't use the other one
6 replies
JCHJava Community | Help. Code. Learn.
•Created by fhaedl on 2/11/2025 in #java-help
spring security with OAuth
hi guys, ive just started learning about spring securit and i have some question about it. i just add 2 type of authentication regular auth (email + password) and oauth that return a JWT, my problem is those authentication cant be use at the same time, i have to add @Order(1) for specify which auth will be used, even after i changed the api route to be different each others. are there any suggestions for my case? or even is it possible to implement this approach? because i've implemented that and it still only take the higher order and can't use the other one
9 replies