Infinite loop for keycloak? #390
-
I raised it in the onyxia repo - But it seems i've got an infinite login loop whilst using keycloak. I create the realm, I create the client, that all works as in I get redirected to the auth landing page, I log my details, it passes me back... ...But then it still says "login" at the top right, and if I click the catalog or my services, I get an infinite loop where it continually tries to loop over. Any thoughts? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Hi @CJCShadowsan, How did you find Onyxia? Best regards, |
Beta Was this translation helpful? Give feedback.
-
Currently building out a stack, was looking at this because it's open 🙂
Was literally going through the step-by-step instructions to install via kubernetes on the old documentation, then have just gone through the docs listed.
Both times I get to the point where I auth, I check keycloak and it recognises me as a user session...
…Then I get redirected back to onyxia and it still thinks I have to login at the top right and if I click services catalog or my services, I get an infinite loop of retries.
Any ideas would be appreciated here - I’m clearly close!
…On Tue, 11 Oct 2022, 01:42 Joseph Garrone, ***@***.***> wrote:
Hi @CJCShadowsan,
Thank you for reaching out!
How did you find Onyxia?
What instruction did you follow to install it?
https://docs.onyxia.sh/installing
Best regards,
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Nice :) You did well :)
Is that so? 😣 Best regards, |
Beta Was this translation helpful? Give feedback.
-
For reference so I can mark this as an answer...: Confidential setting not being correct. The moment I changed to public (thanks @olevitt for the call!), this stopped infinite looping. Oddly enough keycloak recognised that it was an active session, onyxia just continually kept saying "this is a confidential token, not what i'm expecting" so kept redirecting to keycloak, which kept saying "You're logged in already, here's your token"... Ad infinitum 🤣 In other news... Firefox's "slow everything down to a crawl via throttling for GPRS" is very useful! (and in future i'll be implementing opentelemetry with on UbiQ so i'll be able to capture this stuff in-flight with tracing) |
Beta Was this translation helpful? Give feedback.
For reference so I can mark this as an answer...:
Caused by:
Confidential setting not being correct. The moment I changed to public (thanks @olevitt for the call!), this stopped infinite looping.
Oddly enough keycloak recognised that it was an active session, onyxia just continually kept saying "this is a confidential token, not what i'm expecting" so kept redirecting to keycloak, which kept saying "You're logged in already, here's your token"... Ad infinitum 🤣
In other news... Firefox's "slow everything down to a crawl via throttling for GPRS" is very useful!
(and in future i'll be implementing opentelemetry with on UbiQ so i'll be able to capture this stuff in-flight with tracing)