blog.broncotoxique.com

Juste another geek’s website

Tag: Token

  • Spring-Boot 3 – register an OIDC token provider

    Let say you have a Spring-Boot application and you need a token in order to authenticate/authorize a call made by your application targeting another app. Since Spring-Boot 3, and Spring 6, the spring-security packages handle the OIDC mechanism with built-in code. Also their is a common part in registration of OIDC provider used to authenticate/authorize…

  • Spring 6 – Oauthenticated http call

    Let’s say you have a Spring backend app, and you need to make some http(s) call from that backend to any web-service you want without configuring a global WebClient. Doing that you’ll face three possibly to authenticate your http call: – forward the token of the current user; – get a new token to authenticate…

  • Spring Boot 3 – multitenant OIDC with Keycloak

    Naturally Spring Security 3 allow you to do some kind of multi-tenant autentication, but you can’t use more than one OIDC tenant. Let say you are building a Spring Boot App with Spring-Boot 3.x.x and you use Keycloak as OpenID Connect provider, ans you need to validate some tokens from more than one OIDC tenant.…

  • Request a token from Keycloak

    Here is few command lines that you can use to retrieve a token from a Keycloak server. Feel free to add some purpose in comment.