• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

How do you disable default login/registration and enable on login/registration through SSO plugin.

Scheduled Pinned Locked Moved Unsolved Technical Support
7 Posts 3 Posters 2.8k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RADEK
    wrote on last edited by
    #1

    As title says I want to have only Steam login, no passwords. How do you do it?

    1 Reply Last reply
    0
  • R Offline
    R Offline
    RADEK
    wrote on last edited by
    #2

    Bump................

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #3

    You can disable normal registration in the ACP. Hiding the normal login is dangerous because you could lose access the ACP entirely, though.

    KyleTryonK 1 Reply Last reply
    0
  • KyleTryonK Offline
    KyleTryonK Offline
    KyleTryon
    replied to PitaJ on last edited by
    #4

    @pitaj On one of the project I am building, the user MUST sign up with their SSO (as the site is based around this SSO). What would you suggest?

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by PitaJ
    #5

    You could hide the normal login field with custom CSS:

    .page-login .login-block {
        display: none;
    }
    

    But then if the SSO goes down you can't log in within personally changing the CSS for yourself.

    Edit: you could then put this in your custom JS:

    $(window).on('load action:ajaxify.end', function () {
      if (app.user.isAdmin) {
        $('.page-login .login-block').show();
      }
    });
    

    which would show admins the normal login fields as well.

    KyleTryonK 1 Reply Last reply
    1
  • KyleTryonK Offline
    KyleTryonK Offline
    KyleTryon
    replied to PitaJ on last edited by
    #6

    @pitaj said in How do you disable default login/registration and enable on login/registration through SSO plugin.:

    You could hide the normal login field with custom CSS:

    .page-login .login-block {
        display: none;
    }
    

    But then if the SSO goes down you can't log in within personally changing the CSS for yourself.

    Edit: you could then put this in your custom JS:

    $(window).on('load action:ajaxify.end', function () {
      if (app.user.isAdmin) {
        $('.page-login .login-block').show();
      }
    });
    

    which would show admins the normal login fields as well.

    Does this disable the original method of creating an account? Can I ensure it is not possible to create an account without sso?

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by PitaJ
    #7

    You should be able to disable registration in the ACP. That will still allow SSO.

    Edit: previous discussion

    User registration only with SSO

    Hi everyone, Quick question, is it possible to disable the registration form, in order to allow registration by SSO only? Thanks for your help Christian

    favicon

    NodeBB Community (community.nodebb.org)

    1 Reply Last reply
    1

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development