Refactoring

The main server owns the migrations, it's the server part,
it's simpler.

It's Yavsc, not one of its lib.
This commit is contained in:
Paul Schneider 2025-07-15 19:43:41 +01:00
commit b3d565b6d9
67 changed files with 130 additions and 164 deletions

View file

@ -30,10 +30,13 @@ namespace yavscTests
{
try
{
var serverUrl = _serverFixture.Addresses.FirstOrDefault();
String auth = _serverFixture.SiteSettings.Authority;
var oauthor = new OAuthenticator(clientId, clientSecret, scope,
new Uri(authorizeUrl), new Uri(redirectUrl), new Uri(accessTokenUrl));
var oauthor = new OAuthenticator(_serverFixture.TestClientId, _serverFixture.TestClientSecret,
"profile",
new Uri(serverUrl), new Uri(serverUrl), new Uri(serverUrl+"/connect/token"));
var query = new Dictionary<string, string>
{
["Username"] = userName,