mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 00:22:50 -05:00
fixes for configuring u2f device
This commit is contained in:
@ -153,9 +153,9 @@ namespace Bit.Api
|
||||
// Add IdentityServer to the request pipeline.
|
||||
app.UseIdentityServer();
|
||||
app.UseIdentityServerAuthentication(
|
||||
GetIdentityOptions(env, IdentityServerAuthority(env, "identity", "33656"), "3"));
|
||||
GetIdentityOptions(env, IdentityServerAuthority(env, "identity", "44392"), "3"));
|
||||
app.UseIdentityServerAuthentication(
|
||||
GetIdentityOptions(env, IdentityServerAuthority(env, "api", "4000"), "2"));
|
||||
GetIdentityOptions(env, IdentityServerAuthority(env, "api", "44377"), "2"));
|
||||
|
||||
// Add current context
|
||||
app.UseMiddleware<CurrentContextMiddleware>();
|
||||
@ -195,7 +195,7 @@ namespace Bit.Api
|
||||
}
|
||||
else
|
||||
{
|
||||
return $"http://localhost:{port}";
|
||||
return $"https://localhost:{port}";
|
||||
//return $"http://192.168.1.6:{port}"; // Desktop external
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user