1
0
Fork 0
mirror of https://github.com/requarks/wiki.git synced 2026-03-02 22:06:55 -05:00

Discord oAuth: Two different servers collide #2485

Closed
opened 2026-02-20 19:05:49 -05:00 by deekerman · 1 comment
Owner

Originally created by @tionis on GitHub (Mar 7, 2021).

Originally assigned to: @NGPixel on GitHub.

Describe the bug
When two different servers are set as different authentication providers (or to be more exact two discord oAuth logins with different servers assigned) they collide. Users will always login as the last added discord user or cannot login at all.

To Reproduce
Add two discord oAuth Logins via the same client id and add different server ids

Expected behavior
The user should be logged in as the user account at the specific server

Host Info:

  • OS: Docker
  • Wiki.js version: 2.5.170
  • Database engine: postgres 11.10
Originally created by @tionis on GitHub (Mar 7, 2021). Originally assigned to: @NGPixel on GitHub. **Describe the bug** When two different servers are set as different authentication providers (or to be more exact two discord oAuth logins with different servers assigned) they collide. Users will always login as the last added discord user or cannot login at all. **To Reproduce** Add two discord oAuth Logins via the same client id and add different server ids **Expected behavior** The user should be logged in as the user account at the specific server **Host Info:** - OS: Docker - Wiki.js version: 2.5.170 - Database engine: postgres 11.10
deekerman 2026-02-20 19:05:49 -05:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@NGPixel commented on GitHub (Mar 7, 2021):

Duplicate of #2554

@NGPixel commented on GitHub (Mar 7, 2021): Duplicate of #2554
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wiki-requarks#2485
No description provided.