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

docs: adjust order of options in external-auth#16943

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
EdwardAngert merged 1 commit intomainfromexternal-auth-access-token
Mar 14, 2025

Conversation

EdwardAngert
Copy link
Contributor

@EdwardAngertEdwardAngert commentedMar 14, 2025
edited
Loading

from@NickSquangler

($customer) noticed when setting up external auth with Gitlab that the command listed in the docs is in the incorrect order, ascoder external-auth <USER_DEFINED_ID> access-token should becoder external-auth access-token <USER_DEFINED_ID>

preview

coder external-auth access-token --help
coder external-auth access-token --helpcoder v2.20.0+03b5012USAGE:  coder external-auth access-token [flags]<provider>  Print authfor an external provider  Print an access-tokenfor an external auth provider. The access-token will be validated and sent  to stdout withexit code 0. If a valid access-token cannot be obtained, the URL to authenticate  will be sent to stdout withexit code 1    - Ensure that the user is authenticated with GitHub before cloning.:        $#!/usr/bin/env sh  OUTPUT=$(coder external-auth access-token github)if [$?-eq 0 ];thenecho"Authenticated with GitHub"elseecho"Please authenticate with GitHub:"echo$OUTPUTfi    - Obtain an extra property of an access tokenfor additional metadata.:        $ coder external-auth access-token slack --extra"authed_user.id"OPTIONS:      --extra string          Extract a field from the"extra" properties of the OAuth token.———Run`coder --help`for a list of global options.

@EdwardAngertEdwardAngert added docsArea: coder.com/docs customer-reportedBugs reported by enterprise customers. Only humans may set this. labelsMar 14, 2025
@EdwardAngertEdwardAngert self-assigned thisMar 14, 2025
@EdwardAngertEdwardAngert merged commitffd336b intomainMar 14, 2025
34 checks passed
@EdwardAngertEdwardAngert deleted the external-auth-access-token branchMarch 14, 2025 21:17
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMar 14, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@matifalimatifalimatifali approved these changes

@bpmctbpmctAwaiting requested review from bpmct

@stirbystirbyAwaiting requested review from stirby

@NickSquanglerNickSquanglerAwaiting requested review from NickSquangler

Assignees

@EdwardAngertEdwardAngert

Labels
customer-reportedBugs reported by enterprise customers. Only humans may set this.docsArea: coder.com/docs
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@EdwardAngert@matifali

[8]ページ先頭

©2009-2025 Movatter.jp