Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 606 Bytes

File metadata and controls

22 lines (16 loc) · 606 Bytes

Integrating the Gitee Provider

Example

services.AddAuthentication(options => /* Auth configuration */)
        .AddGitee(options =>
        {
            options.ClientId = "my-client-id";
            options.ClientSecret = "my-client-secret";
        });

Required Additional Settings

None.

Optional Settings

Property Name Property Type Description Default Value
UserEmailsEndpoint string The address of the endpoint exposing the email addresses associated with the logged in user. GiteeAuthenticationDefaults.UserEmailsEndpoint