Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

​Unable to integrate with GitLab SSO #9380

Closed
1 task done
hanny-ph opened this issue Dec 27, 2024 · 0 comments · Fixed by #9381
Closed
1 task done

​Unable to integrate with GitLab SSO #9380

hanny-ph opened this issue Dec 27, 2024 · 0 comments · Fixed by #9381

Comments

@hanny-ph
Copy link

hanny-ph commented Dec 27, 2024

What happened?

I would like to integrate this awesome project with GitLab SSO, but based on the OIDC configuration from Gitlab here, it doesn't have end_session_endpoint field that leads the project unable to start.

Apparently, this endpoint is not used in the project, so I think it's fine to remove it.

Distribution version

Linux

What browsers are you seeing the problem on if you're using web version?

No response

Are you self-hosting?

  • Yes

Relevant log output

ZodError: [
  {
    "code": "invalid_type",
    "expected": "string",
    "received": "undefined",
    "path": [
      "end_session_endpoint"
    ],
    "message": "Required"
  }
]
    at get error [as error] (file:///app/node_modules/zod/lib/index.mjs:587:31)
    at ZodObject.parse (file:///app/node_modules/zod/lib/index.mjs:692:22)
    at OIDCClient.fetch (file:///app/dist/plugins/oauth/providers/oidc.js:46:25)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async OIDCClient.create (file:///app/dist/plugins/oauth/providers/oidc.js:53:28)
    at async OIDCProvider.onModuleInit (file:///app/dist/plugins/oauth/providers/oidc.js:143:27)
    at async Promise.all (index 2)
    at async callModuleInitHook (/app/node_modules/@nestjs/core/hooks/on-module-init.hook.js:43:5)
    at async NestApplicationContext.callInitHook (/app/node_modules/@nestjs/core/nest-application-context.js:234:13)
    at async /app/node_modules/@nestjs/core/nest-application-context.js:102:17 {
  issues: [
    {
      code: 'invalid_type',
      expected: 'string',
      received: 'undefined',
      path: [Array],
      message: 'Required'
    }
  ],
  addIssue: [Function (anonymous)],
  addIssues: [Function (anonymous)],
  errors: [
    {
      code: 'invalid_type',
      expected: 'string',
      received: 'undefined',
      path: [Array],
      message: 'Required'
    }
  ]
}

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant