PocketBase supports various authentication methods, and provides API endpoints to fetch the enabled methods. Share Me uses this information to enable the login screen and show OIDC methods.
Disabling Sign-Up
To disable sign-up, the create rule of the users collection should be set to Admin only.
Users Collection API RulesThe SIGNUP_ENABLED environment variable can be set to false in the frontend to disable the /sign-up page and links.
Disabling Built-In Auth
To disable built-in auth entirely, go to the users collection options and disable Username/Password as well as Email/Password:
Users Collection OptionsThe frontend will automatically hide the login form if both options are disabled.