/// <summary>
        /// Initializes a new instance of the <see cref="AppleAuthenticationOptions"/> class.
        /// </summary>
        public AppleAuthenticationOptions()
        {
            ClaimsIssuer = AppleAuthenticationDefaults.Issuer;
            CallbackPath = AppleAuthenticationDefaults.CallbackPath;

            AuthorizationEndpoint = AppleAuthenticationDefaults.AuthorizationEndpoint;
            TokenEndpoint         = AppleAuthenticationDefaults.TokenEndpoint;

            Events = new AppleAuthenticationEvents();

            Scope.Add("name");
            Scope.Add("email");
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="AppleAuthenticationOptions"/> class.
        /// </summary>
        public AppleAuthenticationOptions()
        {
            ClaimsIssuer = AppleAuthenticationDefaults.Issuer;
            CallbackPath = AppleAuthenticationDefaults.CallbackPath;

            AuthorizationEndpoint = AppleAuthenticationDefaults.AuthorizationEndpoint;
            TokenEndpoint         = AppleAuthenticationDefaults.TokenEndpoint;

            Events = new AppleAuthenticationEvents();

            Scope.Add("name");
            Scope.Add("email");

            // Add a custom claim action that maps the email claim from the ID token if
            // it was not otherwise provided in the user endpoint response.
            // See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers/issues/407
            ClaimActions.Add(new AppleEmailClaimAction(this));
        }