Home > Blockchain >  Keycloak Invalid Redirect Uri, Page not found error
Keycloak Invalid Redirect Uri, Page not found error

Time:10-13

I am trying to integrating keycloak with angular but I am facing issue invalid_redirect_uri/Page_not_found error.

error login

Here is the Keycload configuration:

Angular setting

console

Spent hours on googling but failed.

enter image description here

CodePudding user response:

Since it too long for a comment I will post here.
I am assuming you have not changed the default keycloak port, there is only one possible issue I see
By default keycloak quarkus has removed the /auth from it api's and you need to explicitly set if you require this property.

http-relative-path=/auth

This can be set in the keycloak.conf file in /conf directory.

CodePudding user response:

A quick way to get the right configuration settings is in the upper right corner on the client detail page.

There is a dropdown with the option

Download adapter config

This should present the config to you, as Keycloak expects it to be.

  • Related