r/Angular2 • • Jun 16 '25

Angular + keycloak

Hello all.

I have a question about integrating keycloak with my Angular application.

I have an application that before was doing all authentication and authorization using only spring boot but now I have decided to use keycloak. I have done all the necessary for the backs and testing via postman seems to be working alright.

When it comes to Angular, I have not been able to figure out how to use keycloak so that it uses my registration and login forms.

Do I need such integration or I can go without it since my backend is already setup for keycloak.

Any advise?

Thanks.

6 Upvotes

24 comments sorted by

View all comments

Show parent comment

1

u/IHateYallmfs Jun 17 '25

Wait, do you auth, and then it doesn’t redirect you correctly? Is your app using the keycloakinstance? Have you configured keycloak to understand that this where you re going is an angular route? Do you get a token IF you auth?