mirror of
https://github.com/bitwarden/server.git
synced 2025-04-11 08:08:14 -05:00
AdjustIdentityServerConfig for authorization_endpoint
This commit is contained in:
parent
44e886ae44
commit
c6aaa1276d
@ -653,8 +653,7 @@ namespace Bit.Core.Utilities
|
||||
var dictReplace = new Dictionary<string, object>();
|
||||
foreach (var item in configDict)
|
||||
{
|
||||
var change = item.Key.EndsWith("_endpoint") || item.Key.EndsWith("_iframe");
|
||||
if (change && item.Value is string val)
|
||||
if (item.Key == "authorization_endpoint" && item.Value is string val)
|
||||
{
|
||||
var uri = new Uri(val);
|
||||
dictReplace.Add(item.Key, string.Concat(publicServiceUri, uri.LocalPath));
|
||||
|
Loading…
x
Reference in New Issue
Block a user