Generate keycloak openid token with Keycloak Theme token

Job ID: 32324773

Budget: €30 – €250 EUR

My REST API Microservices are written in Javaspringboot. Every request has a authorization header token. This is the Keycloak REST-API OpenId token. The received token is validated with Keycloak via RESTAPI call and then the request is processed.

Now, the frontend application will be using Keycloak Login theme instead of Keycloak REST API authentication process. Therefore, we don't have openid-connect token anymore in Frontend.

I would like to do one of the following
1. Generate a openid token from the keycloak login success - cookie token (KEYCLOAK_IDENTITY_SESSION). This openid token will be sent to microservices calls.
2. Update Microservices to validate the received KEYCLOAK_IDENTITY_SESSION token in header via Keycloak REST-API.

I found an article that might be useful in this regard
https://stackoverflow.com/questions/69097319/from-keycloak-login-how-can-i-get-the-bearer-token-from-keycloak-identity-kc-r

Please bid for this project, only when you know how to do it or have done it already.
Related categories: RESTful API Keycloak Spring Boot