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
4 Replies
⌛
This post has been reserved for your question.
Hey @fhaedl! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
@Bean
This message has been formatted automatically. You can disable this using
/preferences
.Are you doing this?
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.