Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 582 Bytes

File metadata and controls

24 lines (17 loc) · 582 Bytes

Integrating the GitCode Provider

Example

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

            // GitCode does not support setting scopes via requests to the API.
            // The configuration of scopes (App permissions) are instead managed
            // within the OAuth app management in GitCode itself.
        });

Required Additional Settings

None.

Optional Settings

None.