Replies: 3 comments 3 replies
-
The first registered user is the admin user. There's no functionality to create more admins other than editing the You can look into Mongo Express which allows you to edit/view your database: If you can expose the mongo connection, you can also use MongoDB Compass: |
Beta Was this translation helpful? Give feedback.
-
I think I'm having the same issue. I updated the 'role' for my user to ADMIN and it didn't change anything. There was no ADMIN user to begin with since I'm using LDAP auth and no user ever went through a 'registration' process. |
Beta Was this translation helpful? Give feedback.
-
Thank you all for your help. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What is your question?
I'm using librechat deployed on k8s with helm.
I'm using google authentication to sign in.
I want to log in as admin to test admin functionality, how can I switch from a regular user to admin?
I've tried modifying the role in the users collection using mongodb express, but it still recognizes me as user.
'''
users.collection
{
_id: ObjectId('66f2726d97c508785'),
name: 'tester',
username: 'tester',
email: '[email protected]',
emailVerified: true,
avatar: 'https://lh3.googleusercontent.com/a/A2g7PTYs8pwqfTBWAoYgs_cPyhkYwc',
provider: 'google',
role: 'ADMIN',
googleId: '10639dsfaf973226',
plugins: [],
termsAccepted: true,
refreshToken: [],
createdAt: ISODate('2024-09-24T08:03:57.965Z'),
updatedAt: ISODate('2025-01-09T06:56:15.606Z'),
__v: 0
}
'''
I couldn't find any documentation on how to create an admin user.
More Details
.
What is the main subject of your question?
User System/OAuth
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions