Skip to content

Commit

Permalink
base.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rshen91 committed May 10, 2024
1 parent 62b86f5 commit b419248
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ export abstract class BaseAuthenticationProvider {
return deepFreeze({
...authenticationInfo,
authentication_provider: { type: this.type, name: this.options.name },
elastic_cloud_user: true,
// this.options.isElasticCloudDeployment() &&
// authenticationInfo.authentication_realm.type === 'saml' &&
// authenticationInfo.authentication_realm.name === ELASTIC_CLOUD_SSO_REALM_NAME,
elastic_cloud_user:
this.options.isElasticCloudDeployment() &&
authenticationInfo.authentication_realm.type === 'saml' &&
authenticationInfo.authentication_realm.name === ELASTIC_CLOUD_SSO_REALM_NAME,
} as AuthenticatedUser);
}
}

0 comments on commit b419248

Please sign in to comment.