mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #8970 from ioito/hotfix/qx-saml-auth-url
fix(cloudid): avoid empty auth url
This commit is contained in:
@@ -1216,6 +1216,7 @@ func (self *SCloudaccount) newFromCloudSAMLProvider(ctx context.Context, userCre
|
||||
saml.ExternalId = ext.GetGlobalId()
|
||||
saml.DomainId = self.DomainId
|
||||
saml.CloudaccountId = self.Id
|
||||
saml.AuthUrl = ext.GetAuthUrl()
|
||||
metadata, err := ext.GetMetadataDocument()
|
||||
if err != nil {
|
||||
log.Errorf("failed to get metadata from %s(%s) error: %v", self.Name, self.Provider, err)
|
||||
|
||||
Reference in New Issue
Block a user