sync public allowlist from private myoffice

This commit is contained in:
myoffice-sync
2026-08-05 10:36:17 +00:00
parent 6f7fd61ee9
commit 874796c860
720 changed files with 2841 additions and 69563 deletions
@@ -1,22 +0,0 @@
using MyOffice.Web.Auth;
namespace MyOffice.Tests.Auth;
public class OpenIddictRedirectUriTests
{
[Fact]
public void BuildRedirectUri_uses_localhost_when_host_empty()
{
var uri = OpenIddictSeeder.BuildRedirectUri(null);
Assert.Equal("http://localhost:4300/silent-refresh.html", uri.ToString());
}
[Fact]
public void BuildRedirectUri_appends_silent_refresh_and_trims_slash()
{
var uri = OpenIddictSeeder.BuildRedirectUri("https://app.example.com/");
Assert.Equal("https://app.example.com/silent-refresh.html", uri.ToString());
}
}