diff --git a/src/Passwordless.AspNetCore/IdentityBuilderExtensions.cs b/src/Passwordless.AspNetCore/IdentityBuilderExtensions.cs index 2edec44..ef6d6b4 100644 --- a/src/Passwordless.AspNetCore/IdentityBuilderExtensions.cs +++ b/src/Passwordless.AspNetCore/IdentityBuilderExtensions.cs @@ -97,6 +97,7 @@ private static IServiceCollection AddPasswordlessCore(this IServiceCollection se var aspNetCoreOptions = aspNetCoreOptionsAccessor.Value; options.ApiSecret = aspNetCoreOptions.ApiSecret; options.ApiUrl = aspNetCoreOptions.ApiUrl; + options.ApiKey = aspNetCoreOptions.ApiKey; }); return services;