Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Mismatch between docs and AUTH_0_ID function #16851

Assignees
EdwardAngert
Labels
docsArea: coder.com/docs
@michaelvp411

Description

@michaelvp411

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Docs:https://coder.com/docs/admin/external-auth#gitlab-self-managed
The CODER_EXTERNAL_AUTH_0_ID environment variable isused for internal reference. Set it with a value that helps you identify it. For example, you can use CODER_EXTERNAL_AUTH_0_ID="primary-github" for your GitHub provider.

The docs say it's for internal use. If you confgure this as the doc states: CODER_EXTERNAL_AUTH_0_ID="primary-gitlab"
This variable is actually used in the callback url in authentication for git lab

the default callback url in gitlab listed in the doc is:
https://your-gitlab.example.com/users/auth/gitlab/callback

When a user tries to authenctiate with gitlab Coder will connect with
https://your-gitlab.example.com/users/auth/**gitlab-primary**/callback
This will cause a error "The redirect URI included is not valid"

Image

Relevant Log Output

Expected Behavior

Docs:https://coder.com/docs/admin/external-auth#gitlab-self-managed
Clearer explanation of the function of AUTH_0_ID

Steps to Reproduce

1.https://coder.com/docs/admin/external-auth#gitlab-self-managed
2.https://docs.gitlab.com/integration/oauth_provider/
3. Attempt authentication with a SAML tracer app to see AUTH_0_ID is used as part of the callback url

Environment

  • Host OS:
  • Coder version:

Additional Context

No response

Metadata

Metadata

Assignees

Labels

docsArea: coder.com/docs

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp