ivangfr / springboot-react-keycloak

The goal of this project is to secure movies-app using Keycloak (with PKCE). movies-app consists of two applications: one is a Spring Boot Rest API called movies-api and another is a React application called movies-ui.
398 stars 156 forks source link

Deprecation of Keycloak adapters #9

Closed ccaspanello closed 2 years ago

ccaspanello commented 2 years ago

With the deprecation of the keycloak adapters I was wondering if you would be able to provide an update or a seperate example of how to handle this without the keycloak adapater. https://www.keycloak.org/2022/02/adapter-deprecation.html

ivangfr commented 2 years ago

Hi @ccaspanello Thanks for sharing it. I will have a look when I have some free time.

ccaspanello commented 2 years ago

Awesome. Thank you very much h @ivangfr !

ivangfr commented 2 years ago

Hi @ccaspanello I've replaced the Keycloak Adapter in the backend application, movies-api, by Oauth2 Resource Server. I will keep for now the Keycloak npm packages used in the frontend application, movies-ui.

ccaspanello commented 2 years ago

Woah, that was quick. You rock! The frontend package isn't deprecated so that sounds fine. I like the way you did it. Nice and clean.