I am using Keycloak in my Spring Boot application, but I cannot figure out, how to provide my own redirect uri
This is my configuration
keycloak:
use-resource-role-mappings: true
realm: customer-realm
resource: web-frontend
token-minimum-time-to-live: 30
principal-attribute: preferred_username
credentials:
secret: 321321321-88a2-424c-bb4c-2312312321
auth-server-url: http://auth.customer.mydomain.tld:9080/auth
I have tried to set the redirect_uri in the following way
<a href="/login?redirect_uri=http://localhost:8443/customer/account">Login</a>
Of course I have added this URI into my realm settings.
But when a user clicks on the link it looks as follows
http://auth.customer.mydomain.tld:9080/auth/realms/customer-realm/protocol/openid-connect/auth?response_type=code&client_id=web-frontend&redirect_uri=http%3A%2F%2Flocalhost%3A8443%2Fsso%2Flogin&state=e81ad405-8a83-4e84-a155-2f1275f4390b&login=true&scope=openid
How can I provide my own redirect URI ?
Thanks