Skip to main content

For our staff, we use a gmail SSO button to log in to Docebo, but we also have a public-facing extended enterprise domain. Unfortunately, under Docebo’s platform settings, you can only enter one URL redirect for the gmail SSO settings, and this redirect is linked to our internal domain, so whenever a user clicks on the gmail button on the sign in page of our public-facing portal, they get a message saying “You cannot access this page directly.”

Is there a way to use CSS to hide the gmail button on our extended enterprise domain? Or, are there any other workarounds we could use to remove that button? Please advise. Thanks!

 

Hi ​@Treelearning !

Is this the only SSO button in your extended enterprise?

If so, the following code should be enough and should be added under Custom Styles but only for the Extended Enterprise. You must be logged into it and only then navigate to the Custom Styles area
 

ui-button-raised-neutral:has(.color-google){
display: none!important;
}

If you have other buttons, you’ll need to replace X with the number of buttons remaining

.sso-buttons ui-button-raised-neutral {
flex-basis: calc((100% / X) - var(--ui-spacing-xxs))!important;
}

 

Please note, Docebo does not support CSS meaning we cannot write or troubleshoot CSS code in the event that it needs to be updated. CSS code that is added to your platform should be monitored as it is not guaranteed to work forever. Additionally, the Docebo Community is a great resource for CSS code snippets that many Admins from other organizations share with other Community members (as you already know!).


Reply