OIDC Mobile Login logs in as root when root admin usernames match #897

Closed
opened 2026-04-24 23:41:47 +02:00 by adam · 1 comment
Owner

Originally created by @undaunt on GitHub (Feb 29, 2024).

Steps to reproduce

  1. Have a root user and admin user with identical usernames
  2. Log in via OIDC SSO on mobile
  3. Login via OIDC SSO on desktop, verify user activity in users menu
  4. Verify different listening history on mobile vs web

Expected behaviour

Mobile would log in as the OIDC admin user and not the root user.

Actual behaviour

Mobile logs in via OIDC but appears to be using the root user.

Environment data

OIDC is on, password auth is off, and users are set to match by email, auto register, and auto launch unless sent to autoLaunch=0.
ABS 2.8.0 in docker

Audiobookshelf Version:

  • iOS App?

iOS Issue

iOS Version: 0.9.72-beta

iPhone model: 14 Pro, iOS 17.3.1

image

Originally created by @undaunt on GitHub (Feb 29, 2024). ### Steps to reproduce 1. Have a root user and admin user with identical usernames 2. Log in via OIDC SSO on mobile 3. Login via OIDC SSO on desktop, verify user activity in users menu 4. Verify different listening history on mobile vs web ### Expected behaviour Mobile would log in as the OIDC admin user and not the root user. ### Actual behaviour Mobile logs in via OIDC but appears to be using the root user. ### Environment data OIDC is on, password auth is off, and users are set to match by email, auto register, and auto launch unless sent to autoLaunch=0. ABS 2.8.0 in docker Audiobookshelf Version: - [x] iOS App? #### iOS Issue iOS Version: 0.9.72-beta iPhone model: 14 Pro, iOS 17.3.1 ![image](https://github.com/advplyr/audiobookshelf-app/assets/31376520/b50c000a-ad1a-421e-b68c-c513b4b2485b)
adam added the bug label 2026-04-24 23:41:47 +02:00
adam closed this issue 2026-04-24 23:41:47 +02:00
Author
Owner

@undaunt commented on GitHub (Feb 29, 2024):

Not sure what happened but my iOS app is finally showing the OIDC admin data instead of root after the 3rd time of swapping user via login. Closing this.

@undaunt commented on GitHub (Feb 29, 2024): Not sure what happened but my iOS app is finally showing the OIDC admin data instead of root after the 3rd time of swapping user via login. Closing this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#897