Single sign-on with okta, spring boot and react

I have a task to implement single sign-on and using the existing tech stack

tech stack:

okta, spring boot(kotlin), react

Very fortunate I found https://developer.okta.com/blog/2020/01/13/kotlin-react-crud. After the tutorial, you have an react app running at localhost which communicates with spring boot, secured by SSO.

One difficulty I found is debugging spring boot. Basically I want to set a Bearer token to communicate with my spring boot app.

In one of my previous employers, a token for debugging backend can be obtained by zign token , and

okta provides this functionality here

the detail about how to use this debugger could be found here