feat: add debug registration endpoint, fix snowflake serialization

This commit is contained in:
sam 2024-06-04 17:38:59 +02:00
parent 852036a6f7
commit 588afeec20
14 changed files with 646 additions and 10 deletions

View file

@ -15,7 +15,7 @@ public class Application : BaseModel
string[] redirectUrls)
{
var clientId = RandomNumberGenerator.GetHexString(32, true);
var clientSecret = OauthUtils.RandomToken(48);
var clientSecret = OauthUtils.RandomToken();
if (scopes.Except(OauthUtils.ApplicationScopes).Any())
{