Files
AiThingy/config/example-settings.json
hyvenet 494e71ad39 Fixed failing signups and made oauth settings work
Fixed the signup form so it no longer fails, and made the oauth login buttons only appear when they have been enabled in the settings.json file
2025-08-26 12:07:29 +01:00

34 lines
697 B
JSON

{
"branding":{
"name":"AiThingy"
},
"signup_mode":"code",
"default_role":"none",
"default_permissions":[
"createChat"
],
"signup_codes":[
{
"name":"code1",
"code":"a1b2c3",
"role":"user"
},
{
"name":"code2",
"code":"a1b2c3",
"role":"admin"
},
{
"name":"code3",
"code":"a1b2c3",
"role":"guest"
}
],
"oauth_login":"true",
"github_oauth":{
"enabled":"true",
"client_id":"client_id",
"client_secret":"client_secret"
},
"mongo_password":"yourMongoPassword"
}