[keycloak-user] Does Keycloak have a URL that returns 200 response?

Sarp Kaya akaya at expedia.com
Wed Sep 7 19:42:00 EDT 2016


Hi Thomas,

Thanks for the suggestion but that does not really run through any of the login flow (for instance it doesn’t execute to any of the database code or token/code generation). I’ve also tried /auth/realms/{realm-name} and same thing happens.

Thanks,
Sarp

From: Thomas Darimont <thomas.darimont at googlemail.com>
Date: Wednesday, September 7, 2016 at 5:15 PM
To: Abdullah Sarp <akaya at expedia.com>
Cc: "keycloak-user at lists.jboss.org" <keycloak-user at lists.jboss.org>
Subject: Re: [keycloak-user] Does Keycloak have a URL that returns 200 response?

Hello Sarp,

you could use: https://keycloak-server/auth/version

Cheers,
Thomas

2016-09-07 8:50 GMT+02:00 Sarp Kaya <akaya at expedia.com<mailto:akaya at expedia.com>>:
Hello,

There used to be an old thread and seems like a jira ticket here:
https://issues.jboss.org/browse/KEYCLOAK-1578

I don’t really see how this is not prioritized at all (given that if a Keycloak instance does not respond, it would be super useful to know that immediately, and build system on top of that).

Anyway, I’m using Keycloak in AWS, and I have a load balancer that needs to know whether an instance is up or not. The problem is I could not actually find any endpoint from Keycloak that I could easily get 200 response, without passing any query parameters or any special headers.

I know that I can write some SPI that could just return 200, but that won’t be the actual case, because I actually want something that’s integrated with the Keycloak login flow (such as the login page, if login page does not return a response, or does something unexpected continuously then it would make more sense)

So I’d be really happy if anyone knows whether such URL exists for Keycloak and tell me that.

Kind Regards,
Sarp Kaya

_______________________________________________
keycloak-user mailing list
keycloak-user at lists.jboss.org<mailto:keycloak-user at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/keycloak-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160907/3d124ed9/attachment.html 


More information about the keycloak-user mailing list