mirror of
https://github.com/bitwarden/server.git
synced 2025-04-21 04:55:08 -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>();
|
var dictReplace = new Dictionary<string, object>();
|
||||||
foreach (var item in configDict)
|
foreach (var item in configDict)
|
||||||
{
|
{
|
||||||
var change = item.Key.EndsWith("_endpoint") || item.Key.EndsWith("_iframe");
|
if (item.Key == "authorization_endpoint" && item.Value is string val)
|
||||||
if (change && item.Value is string val)
|
|
||||||
{
|
{
|
||||||
var uri = new Uri(val);
|
var uri = new Uri(val);
|
||||||
dictReplace.Add(item.Key, string.Concat(publicServiceUri, uri.LocalPath));
|
dictReplace.Add(item.Key, string.Concat(publicServiceUri, uri.LocalPath));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user