Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 601 Bytes

File metadata and controls

24 lines (17 loc) · 601 Bytes

Integrating the GitCode Provider

Example

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

            // It appears that GitCode does not support setting the scopes through query strings.
            // The configuration of scopes (App permissions) is instead managed
            // within the OAuth app management on the official web.
        });

Required Additional Settings

None.

Optional Settings

None.