drasl: allow importing existing players
This commit is contained in:
parent
dcc7fdf028
commit
61045d0015
1 changed files with 14 additions and 0 deletions
|
@ -34,10 +34,24 @@ in {
|
|||
) (v: v.mail);
|
||||
in admins);
|
||||
|
||||
# allow importing players
|
||||
ImportExistingPlayer = {
|
||||
Allow = true;
|
||||
Nickname = "Mojang";
|
||||
AccountURL = "https://api.mojang.com";
|
||||
SessionURL = "https://sessionserver.mojang.com";
|
||||
SetSkinURL = "https://www.minecraft.net/msaprofile/mygames/editskin";
|
||||
RequireSkinVerification = false; # TODO: should maybe be changed to true in the future
|
||||
};
|
||||
|
||||
RegistrationExistingPlayer.Allow = true;
|
||||
|
||||
# only allow loging using OIDC
|
||||
CreateNewPlayer.Allow = true;
|
||||
RegistrationNewPlayer.Allow = true;
|
||||
AllowPasswordLogin = false;
|
||||
|
||||
# configure OIDC
|
||||
RegistrationOIDC = [{
|
||||
Name = draslOIDCName;
|
||||
Issuer = "https://${config.mine.shared.settings.authelia.domain}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue