# Single Sign-On (SSO)

SSO allows you to create users and secure many different pages using a login portal presented on sites you want to secure. While it is complex to setup, it is a good way to both learn SSO and secure your ST instance out on the internet more.

SSO can also replace HTTP Basic Authentication as an access control mechanism for remote connections.

This is recommended because SSO provides better security and functionality than HTTP Basic Authentication.

Authelia and Authentik are open-source SSO providers that can be used with SillyTavern.

# Sign in with SSO

If your SSO-provided username exactly matches the user handle of a SillyTavern user account, you can sign in to SillyTavern as that user by SSO. To enable this feature, change one of the following options to your config.yaml file:

# Authelia

sso:
  autheliaAuth: true

# Authentik

sso:
  authentikAuth: true

Both options augment or replace the built-in password management component of a multi-user mode setup.