DEV Community

loading...

Discussion on: Spring Security with JWT: OAuth 2 Resource Server

Collapse
toretest profile image
Tore Gard

Does the code work with Okta out of the box?

Collapse
toojannarong profile image
Jannarong Wadthong Author • Edited

Yes, it should support any kind of JWT authorization sever. But you need to check if Okta provides the JWT containing the well-kwon claims: scope / scp or not. Otherwise; you have to customise the configurations to tell Spring which claims you need, as the shown the example in the Custom Claims section .

Collapse
toretest profile image