About

Sign in and sign up with GitHub, and connect a GitHub account to an account from its profile

Provides

Routes
/account/connect/github/github/authorize/github/login
Hooks filled
auth.login.providerslayout.head.cssprofile.edit.sectionssignup.providers
Translations
es

Configuration

Setting Default What it does
GITHUB_CLIENT_ID empty The OAuth app registered at https://github.com/settings/developers. Without both values GitHub sign-in is off: the app logs a warning at start, and whoever tries is told it is not available.
GITHUB_CLIENT_SECRET empty No description yet.
GITHUB_SCOPE user:email What the sign-in asks GitHub for. user:email lets GitHub say which of the person's addresses it verified; without it every new account asks for an address, which then has to be confirmed by mail.

These are the defaults. A product changes them in its own pyproject.toml, under [tool.splent.config], or in .env.deploy in production.

Dependencies

Works better with

In product lines

  • openhubs_spl In a group One or more of the identities group, when a product takes that group Needs auth identities profile

Extension points

Templates
hooks/github_login_button.htmlhooks/github_profile_row.html
Routes
A refinement can add routes to its blueprint

Other features fill its hook slots. A refinement can override its templates and services or extend its models without forking it.

Compatibility

Python
>=3.13
SPLENT framework
>=1.30.0