Using SSO setup, How to set a user as admin?

I have installed discourse and created admin user using rake admin:create

But when I set the SSO setup, my initial admin user lost its admin privilege as I sign in using my rails app via SSO.

How can I set it as admin considering I am using my existing rails app users table.

Try setting your email address as the developer email address on your app.yml.

Thank you for your response, I’ve just set it and rebuilt the container.

DISCOURSE_DEVELOPER_EMAILS: 'myemail@mydomain.com'

But I still can’t see the settings menu, any idea ?

Here is how it looks

Ok, it just worked using another email, thannks

1 Like