Add a sign-in method to the console: the bundled Dex gets a connector with the id console-<name>, the client secret goes to OpenBao. github, google and microsoft need client_id and client_secret, microsoft also tenant, oidc also issuer (https). gitlab takes connector_id of a GitLab connector for the address and client_id and client_secret of the GitLab application. ldap takes connector_id of an LDAP connector and signs in to its server. A new method shows on the sign-in page after it is saved on GET /admin/sign-in-page. A person signs in with it only when Principal can match the account: a connector of the same provider imported it, or an administrator added it to the person by email.
Request body application/json · ConsoleSignInMethodRequest
githubgooglemicrosoftoidcgitlabldapResponses
The sign-in method
ConsoleSignInMethodResponse · 10 fields
githubgooglemicrosoftoidcgitlabldapA field is invalid and field_errors names it, or Dex did not accept the method. Nothing changed.
Authentication required
Principal can't reach the bundled Dex. Nothing changed.
Common errors: 403 409 413 429 504. They mean the same for every operation, see Errors.