Skip to content

Commit

Permalink
Make name case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
ohansFavour committed Jun 21, 2024
1 parent ddce98d commit f43dd39
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
22 changes: 11 additions & 11 deletions lib/build/thirdparty-shared.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions lib/ts/recipe/thirdparty/providers/boxySaml.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,35 +55,35 @@ export default class BoxySAML extends Provider {
}

getLogo = (): JSX.Element => {
switch (this.name) {
case "Microsoft Entra ID": {
switch (this.name.toLowerCase()) {
case "microsoft entra id": {
return microsoftEntraIdLogo;
}
case "Microsoft AD FS": {
case "microsoft ad fs": {
return microsoftADFSLogo;
}
case "Okta": {
case "okta": {
return oktaLogo;
}
case "Auth0": {
case "auth0": {
return auth0Logo;
}
case "Google": {
case "google": {
return googleLogo;
}
case "OneLogin": {
case "onelogin": {
return oneLoginLogo;
}
case "PingOne": {
case "pingone": {
return pingOneLogo;
}
case "JumpCloud": {
case "jumpcloud": {
return jumpCloudLogo;
}
case "Rippling": {
case "rippling": {
return ripplingLogo;
}
case "OpenID": {
case "openid": {
return openIdLogo;
}
default: {
Expand Down

0 comments on commit f43dd39

Please sign in to comment.