Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 699 Bytes

File metadata and controls

26 lines (19 loc) · 699 Bytes

Integrating the Amazon Provider

Example

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

            // Optionally request the user's postal code, if needed
            options.Scope.Add("postal_code");
            options.Fields.Add("postal_code");
        });

Required Additional Settings

None.

Optional Settings

Property Name Property Type Description Default Value
Fields ISet<string> The fields of the user's profile to return. [ "email", "name", "user_id" ]