feat: add user/settings page for managing external auth (#10945)

Also add support for unlinking on the coder side to allow reflow.
This commit is contained in:
Steven Masley
2023-12-06 08:41:45 -06:00
committed by GitHub
parent f6891bc465
commit b376b2cd13
18 changed files with 577 additions and 23 deletions
+2
View File
@@ -76,6 +76,8 @@ type ExternalAuthLink struct {
UpdatedAt time.Time `json:"updated_at" format:"date-time"`
HasRefreshToken bool `json:"has_refresh_token"`
Expires time.Time `json:"expires" format:"date-time"`
Authenticated bool `json:"authenticated"`
ValidateError string `json:"validate_error"`
}
// ExternalAuthLinkProvider are the static details of a provider.