Read the FAQ first!
Describe the bug
When linking Discord accounts via PIN, the return value is nil.
To Reproduce
Make the invites mandatory (maybe doesn't matter but it's my env), create an invite and link your Discord account. It should show the discord account is nil in the accounts panel
Logs
jfago-1 | [ERROR] 21:53:37 api-users.go:161: Failed to link Discord user "#" with "invitelink": Failed to apply/remove Discord member role: HTTP 404 Not Found, {"message": "404: Not Found", "code": 0}
This is the only out of the ordinary thing I see.
Configuration
; Settings for Discord invites/signup/notifications
[discord]
; Enable signup verification through Discord and the sending of notifications through it.
; See the jfa-go wiki for setting up a bot.
enabled = true
; Allow users to link their Discord on the registration page.
show_on_reg = true
; Require Discord connection on sign-up. See the jfa-go wiki for info on setting this up.
required = true
; Disables using the same user on multiple Jellyfin accounts.
require_unique = true
; Discord Bot API Token.
token = secret
; Command to start the user verification process.
start_command = start
; Only listen to commands in specified channel. Leave blank to monitor all.
channel = 📝┇registration
; Generate a one-time discord server invite for the account creation form. Required Bot permission "Create instant invite", you may need to re-add the bot to your server after.
provide_invite = true
; Name of channel to invite new users to.
invite_channel = 📝┇registration
; Add the selected role to a user when they sign up.
apply_role = rolenum
; When a user is disabled or deleted, remove the Discord role, and when re-enabled, add it back.
disable_enable_role = true
; Default Discord message language. Visit weblate if you'd like to translate.
language = en-us
Platform/Version
I tried on both v0.6.0 and unstable.
Read the FAQ first!
Describe the bug
When linking Discord accounts via PIN, the return value is nil.
To Reproduce
Make the invites mandatory (maybe doesn't matter but it's my env), create an invite and link your Discord account. It should show the discord account is nil in the accounts panel
Logs
jfago-1 | [ERROR] 21:53:37 api-users.go:161: Failed to link Discord user "#" with "invitelink": Failed to apply/remove Discord member role: HTTP 404 Not Found, {"message": "404: Not Found", "code": 0}
This is the only out of the ordinary thing I see.
Configuration
; Settings for Discord invites/signup/notifications
[discord]
; Enable signup verification through Discord and the sending of notifications through it.
; See the jfa-go wiki for setting up a bot.
enabled = true
; Allow users to link their Discord on the registration page.
show_on_reg = true
; Require Discord connection on sign-up. See the jfa-go wiki for info on setting this up.
required = true
; Disables using the same user on multiple Jellyfin accounts.
require_unique = true
; Discord Bot API Token.
token = secret
; Command to start the user verification process.
start_command = start
; Only listen to commands in specified channel. Leave blank to monitor all.
channel = 📝┇registration
; Generate a one-time discord server invite for the account creation form. Required Bot permission "Create instant invite", you may need to re-add the bot to your server after.
provide_invite = true
; Name of channel to invite new users to.
invite_channel = 📝┇registration
; Add the selected role to a user when they sign up.
apply_role = rolenum
; When a user is disabled or deleted, remove the Discord role, and when re-enabled, add it back.
disable_enable_role = true
; Default Discord message language. Visit weblate if you'd like to translate.
language = en-us
Platform/Version
I tried on both v0.6.0 and unstable.