mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: allow external auth providers to expose extra metadata (#10157)
This commit is contained in:
Generated
+9
-5
@@ -26,14 +26,18 @@ else
|
||||
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
|
||||
### --extra
|
||||
|
||||
| | |
|
||||
| ---- | ----------------- |
|
||||
| Type | <code>bool</code> |
|
||||
| | |
|
||||
| ---- | ------------------- |
|
||||
| Type | <code>string</code> |
|
||||
|
||||
Do not print the URL or access token.
|
||||
Extract a field from the "extra" properties of the OAuth token.
|
||||
|
||||
Reference in New Issue
Block a user