mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
feat: add support for optional external auth providers (#12021)
This commit is contained in:
committed by
GitHub
parent
78c9f82719
commit
475c3650ca
@ -199,9 +199,10 @@ func (c *Client) ServeProvisionerDaemon(ctx context.Context, req ServeProvisione
|
||||
return nil, xerrors.Errorf("parse url: %w", err)
|
||||
}
|
||||
query := serverURL.Query()
|
||||
query.Add("version", proto.CurrentVersion.String())
|
||||
query.Add("id", req.ID.String())
|
||||
query.Add("name", req.Name)
|
||||
query.Add("version", proto.VersionCurrent.String())
|
||||
query.Add("version", proto.CurrentVersion.String())
|
||||
|
||||
for _, provisioner := range req.Provisioners {
|
||||
query.Add("provisioner", string(provisioner))
|
||||
|
Reference in New Issue
Block a user