I want a Sign Up button to appear with SSO


(Tobias Eigen) #1

On a site without SSO, when a new user shows up there are two buttons in the top right corner - SIGN UP and LOG IN:

But when you have SSO turned on, you only see one button in the top right corner - LOG IN. This leaves new people without an obvious way to sign up. On our site, we’d have both buttons link to our wordpress signup/signin page.

We fixed this provisionally by changing the button with CSS, but would prefer to have two separate buttons as without SSO.

.login-button::after {
    content: " | Sign up";
}

(Michael Downey) #2

Our workaround is to make an obvious link to the signup process on the login page that we host.

Edit: Also, I forgot that our global announcement banner post type (or whatever that special type is called these days) also has a link to our account sign up. And if someone has a new browser session, they’ll get that until dismissed or until they sign in, whichever comes first.


(Mittineague) #3

The Log In button brings up a modal that has Create New Account.

But I agree, it isn’t obvious that that option will be there if they click Log In.


(Michael Downey) #4

This is not true if you’re using a 3rd party for SSO authentication to Discourse.


(Robin Ward) #5

It seems like the main use case here is to have a custom sign up button when in SSO mode?

It might be better to get that feature implemented via a PR if it’s something many people want on their forums?

I could see it working like this:

  • a new site setting, sso_signup_url
  • if present, when rendering the buttons it would create a sign up button with that url

I can provide pointers if someone wants to work on this :slight_smile:


(James Cook) #6

It’s definitely odd without a Sign Up button I must say. Would be much better with a Sign Up button that when clicked should link to my Wordpress sign up page.


#7

Agreed. I’m combatting it with a pinned banner topic with a clear CTA to register.
It’s only been going a few weeks but 64% of new users are clicking on it.


(Jeff Atwood) #8

That might not be true for SSO though when login is done via the parent site. Remember SSO means, login happens outside of Discourse, somewhere else.

I am curious, do you really need two buttons for SSO, when account creation is 100% handled by the parent site? Is there one text that would work for both cases?


(Michael Downey) #9

I don’t use SSO currently these days, but a single Sign Up or Log In button would’ve worked for us. Is that localizable through the admin UI?


#10

In both instances where this has been an issue for me, although account creation is handled through the parent site, most traffic comes directly to the community so yeah, it’s pretty crucial.

A single button with different text would be absolutely fine.


(Jeff Atwood) #11

All text can be edited from Admin, Customize, so … yes


(Sam Tuke) #12

Monitoring this issue as we use Wordpress for SSO, and also miss a signup link. Workarounds described above look promising however.


(David Kingham) #13

I would like to see this feature as well. I would propose adding this option ‘sso sign up button external link’, if blank it acts as it does now, if a link is entered then the sign up button is visible with the entered link.

I don’t think the log in button should change since it has a modal to the sso login.

A single button would not work for me as I use memberful and they do not have a link to register in their modal, I have put in a feature request to them but I do not have my hopes up.