mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
feat: allow external auth providers to expose extra metadata (#10157)
This commit is contained in:
@ -19,10 +19,14 @@ USAGE:
|
||||
echo "Please authenticate with GitHub:"
|
||||
echo $OUTPUT
|
||||
fi
|
||||
|
||||
- Obtain an extra property of an access token for additional metadata.:
|
||||
|
||||
$ coder external-auth access-token slack --extra "authed_user.id"
|
||||
|
||||
OPTIONS:
|
||||
--s bool
|
||||
Do not print the URL or access token.
|
||||
--extra string
|
||||
Extract a field from the "extra" properties of the OAuth token.
|
||||
|
||||
———
|
||||
Run `coder --help` for a list of global options.
|
||||
|
Reference in New Issue
Block a user