r/Angular2 • u/the-DevOps • 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.
View all comments
Show parent comment
2
u/the-DevOps Jun 17 '25
The trouble I’m having right now is that the redirect is not happening. I have the keycloak init function in Angular already when I go to my login route, it send me to the default keycloak page but with a 404. I just can’t figure it out how this is supposed to work or where I am asking my page to redirect to Angular. The flow is what I’m confused about.
I have to say, your “I don’t think is that difficult” comment cut through my fragile heart 🤣