I have a public Spring web app providing REST API over HTTPS. It currently uses just HTTP basic authentication.
I was asked to implement JWT support. I would like to do it but keep simplicity - avoid stuff like OAuth (which is a must have in current Spring since former spring-security-jwt
is deprecated).
In my understanding it would be secure to use JWT (in HTTPS) without OAuth. So I can benefit from JWT standard without the need of dedicated authorization server.
- Is this setup a standard/common approach?
- Could you please provide any example in Spring environment?
My idea was to use a library like jjwt & Spring Security.