Failed to load URLs from http://localhost:8080/auth/realms/SHL1/.well-known/openid-configuration

Error:
Failed to load URLs from http://localhost:8080/auth/realms/SHL1/.well-known/openid-configuration

java.lang.Exception: Not Found
at org.keycloak.adapters.KeycloakDeployment.getOidcConfiguration(KeycloakDeployment.java:233) ~[keycloak-adapter-core-18.0.0.jar:18.0.0]

I am getting above error when trying to call a api for SP initiated flow in spring boot app .
I am attaching the entire source here on github : github Source code URL . Also i have attached file to entire error log on github .
PLEASE HELP ME GET THIS RESOLVED .

As you are using client libs in version 18, I assume you also run a server on 18.
So, have you also read the documentation or grabbed a random URL on the internet? Or just using the old url after an upgrade but not read the upgrade guide?

Starting with KC17 (Quarkus), there is not default /auth path anymore. If you want to use it, you’ll have to configure it, otherwise, just don’t use it. :man_shrugging:
See “http-relative-path” here.

@dasniko Thanks for the quick help !!