Hi, issue with using Kratos and the GitLab login w...
# ory-selfhosting
s
Hi, issue with using Kratos and the GitLab login when using the
helm
chart and the Next.js
self-service
. Gives the 400 error message shown underneath. Kratos and self-service are both part of the same top-domain:
Copy code
{
  "id": "b2827d41-347f-455c-9da0-e99f48371c41",
  "error": {
    "code": 400,
    "debug": "key ory_kratos_oidc_auth_code_session does not exist in cookie: map[]\<http://ngithub.com/ory/kratos/x.SessionGetString\n\t/home/ory/x/cookie.go:34\ngithub.com/ory/kratos/continuity.(*ManagerCookie).sid\n\t/home/ory/continuity/manager_cookie.go:99\ngithub.com/ory/kratos/continuity|ngithub.com/ory/kratos/x.SessionGetString\n\t/home/ory/x/cookie.go:34\ngithub.com/ory/kratos/continuity.(*ManagerCookie).sid\n\t/home/ory/continuity/manager_cookie.go:99\ngithub.com/ory/kratos/continuity>...
    "reason": "No resumable session could be found in the HTTP Header.",
    "status": "Bad Request",
    "message": "session is not resumable"
  },
  "created_at": "2022-04-10T21:09:27.457637Z",
  "updated_at": "2022-04-10T21:09:27.457637Z"
}
1
p
Hi @User Just to clarify, do you mean this only happens when using the
helm
chart? Could you provide more information, are you able to redirect to GitLab and do a login there? When does this error occur?
s
Hi @User Thanks for the great work on Ory! Our current setup consists of only a k8s/helm implementation. I'm running the 22.2 version and using credentials to login is working perfectly. The error happens after login in GitLab and being redirected back
1. Login through password 2. logout 3. attempt login through gitlab 4. get redirected from gitlab 5. error message
p
Hi @User I found an issue on this https://github.com/ory/kratos/issues/1296 Could you confirm if this is possibly the problem?
s
Hey @User, I'm not sure, but we've literary just resolved it by using the express front-end rather than the next.js front-end! We'll be building of that image from now on 🙂
Thanks for your help!
p
Glad it got resolved 🙂
👍 1