Hi! Can you point me to configuration which would...
# talk-hydra
d
Hi! Can you point me to configuration which would allow to redirect user back to /callback if there are existing kratos session? So, the flow is: • user logged in to our platform using kratos • user trying to open another application which is using hydra as identity provider • but hydra kind of force user to log in again, even if there are existing kratos session Seems like there should be some way to tell kratos or hydra not to perform login flow if there are existing session..
hm ok refresh=false in our case
m
d
is it possible to skip this screen somehow? if there are active kratos session @magnificent-energy-493
m
Hmm I am not sure how, but you can skip it for sure. Are you sure you are logged in on hydra + kratos? Was this after signup? Maybe you dont give session when signing up.
d
yep I'm sure I'm logged in I can see kratos session in cookies if you run that kratos-hydra example you just sent me and register + login then run that hydra example client and initiate login flow -> you will get that confirm screen (even though session is already there) So, I don't really understand the point of that screen and why user can't just workaround it, since he/she already has existing session, hm
@magnificent-energy-493 Hi Any ideas how to skip this double-login thing "Please confirm this action by verifying that it is you"?
I see that on code level: if f.Refresh { f.UI.Messages.Set(text.NewInfoLoginReAuth()) } but refresh=false in my case as well as in example case
seems I found smth if !hydraLoginRequest.GetSkip() { q := r.URL.Query() q.Set("refresh", "true") r.URL.RawQuery = q.Encode() }
but yeah still don't understand how to force hydra to send Skip=true on "GetLoginRequest"