mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
feat: allow external auth providers to expose extra metadata (#10157)
This commit is contained in:
@ -711,9 +711,10 @@ func (c *Client) GetServiceBanner(ctx context.Context) (codersdk.ServiceBannerCo
|
||||
}
|
||||
|
||||
type ExternalAuthResponse struct {
|
||||
AccessToken string `json:"access_token"`
|
||||
URL string `json:"url"`
|
||||
Type string `json:"type"`
|
||||
AccessToken string `json:"access_token"`
|
||||
TokenExtra map[string]interface{} `json:"token_extra"`
|
||||
URL string `json:"url"`
|
||||
Type string `json:"type"`
|
||||
|
||||
// Deprecated: Only supported on `/workspaceagents/me/gitauth`
|
||||
// for backwards compatibility.
|
||||
|
Reference in New Issue
Block a user