diff --git a/back/src/Kyoo.Authentication/Views/AuthApi.cs b/back/src/Kyoo.Authentication/Views/AuthApi.cs index 892740f0..d3a264d3 100644 --- a/back/src/Kyoo.Authentication/Views/AuthApi.cs +++ b/back/src/Kyoo.Authentication/Views/AuthApi.cs @@ -193,6 +193,7 @@ namespace Kyoo.Authentication.Views newUser.Username = username; newUser.Slug = Utils.Utility.ToSlug(newUser.Username); newUser.ExternalId.Add(provider, extToken); + newUser.Permissions = options.NewUser; User? user = await users.GetByExternalId(provider, extToken.Id); if (user == null)