Admin unable to change username


(Jordan) #1

My users are unable to change their usernames despite me opening the permissions to allow them to do so.

Further, I’m an admin and am trying to change the username on behalf of a user and I’m being met with the following error: “You are not permitted to view the requested resource.”

I’ve read other forum posts about this :arrow_up:︎ error, but didn’t find one that was able to help remediate my issue.


(Jay Pfaffman) #2

Are you using SSO? That would explain this, I think.


(Hannah) #3

I am also getting this error, and I am an admin. I think I am using SSO, does that mean we cant adjust/edit usernames?


(Jay Pfaffman) #4

If you use SSO, then you would need to create a new username on the SSO side and then merge the accounts in Discourse.


(Hannah) #5

I inherited my current set up. How do I check if I’m using SSO or not?


(Simon Cossar) #6

Click on the Settings link from the main menu. On the Settings page, enter ‘sso’ in the search box. If the ‘enable sso’ checkbox is checked, SSO is enabled on your site.


(Hannah) #7

Hi, it looks like SSO is indeed set up on my forum. So if I want people to be able to update/change their usernames, including myself (an admin), what’s the best way to go about doing that?

Thanks!


(Simon Cossar) #8

Go back to your SSO settings and look for the setting ‘sso overrides username’. If that setting is not enabled, users, including admins, should be able to edit their usernames on your site.


(Hannah) #9

I see now that that is checked. If I “uncheck” the “sso overrides username”, will people be able to create their own user names? Is there any downside to that?


(Simon Cossar) #10

Yes, unchecking that setting will allow users to change their usernames on your Discourse site. The only downside I can see is that if a username is edited on Discourse, but not on your SSO provider site, the username won’t match between the two systems. This won’t cause any technical problems, but depending on how you are using Discourse, it could cause some confusion among your users.


(Hannah) #14

We are just still building our community, which is why I am trying to update these settings now…so not too worried about user confusion right now. And our “users” dont have a username on our main site, just an # ID. THanks!