Class OAuth2EndpointOverrides

Assembly: redb.Identity.Contracts.dll

Per-provider override of the well-known OAuth2 endpoints used by
= github (and future non-OIDC OAuth2
kinds). When any field is null the provider falls back to its built-in default for
the public github.com host.

public sealed class OAuth2EndpointOverrides

Inheritance

Object→OAuth2EndpointOverrides

Properties

AuthorizeEndpoint

Authorization endpoint. Default for github: https://github.com/login/oauth/authorize.

public string? AuthorizeEndpoint { get; set; }

EmailsEndpoint

User emails endpoint (only used when profile email is private). Default for github: https://api.github.com/user/emails.

public string? EmailsEndpoint { get; set; }

TokenEndpoint

Token endpoint. Default for github: https://github.com/login/oauth/access_token.

public string? TokenEndpoint { get; set; }

UserEndpoint

User profile endpoint. Default for github: https://api.github.com/user.

public string? UserEndpoint { get; set; }