Created
July 20, 2025 21:27
-
-
Save denniswebb/10fce31e93101926b8d28fc82fa36a25 to your computer and use it in GitHub Desktop.
To reset audiobookshelf oidc sub for a user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
cd /config | |
sqlite3 absdatabase.sqlite | |
UPDATE users | |
SET extraData = json_remove(extraData, '$.authOpenIDSub') | |
WHERE id = '830703a0-4aa2-4296-8cf7-cc54b35ea256'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment