SSO OAuth 2.0 with External Keycloak

Hi, I’m a newbie spring-boot and Camunda. I’m trying to write a REST API with Java API of Camunda. Now, I want to use Keycloak to authenticate. Every request sent to the server will add a token, I will decode the token and validate at Keycloak. But I don’t know how to config this project properly. Can anyone help me with a template for this situation! Sorry for my bad English. Thank you!

Shouldn’t be too hard, there’s a really good Keycloak extension that you can use, you just need to add it to your project

I have seen this many times, but my problem that I can’t config security properly. How to decode JWT implement and check user in camunda with user in keycloak?