{"action":"created","issue":{"url":"https://api.github.com/repos/NodeBB/NodeBB/issues/4821","repository_url":"https://api.github.com/repos/NodeBB/NodeBB","labels_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/4821/labels{/name}","comments_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/4821/comments","events_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/4821/events","html_url":"https://github.com/NodeBB/NodeBB/issues/4821","id":163730329,"number":4821,"title":"Duplicated userslugs","user":{"login":"vctfernandes","id":13202798,"avatar_url":"https://avatars.githubusercontent.com/u/13202798?v=3","gravatar_id":"","url":"https://api.github.com/users/vctfernandes","html_url":"https://github.com/vctfernandes","followers_url":"https://api.github.com/users/vctfernandes/followers","following_url":"https://api.github.com/users/vctfernandes/following{/other_user}","gists_url":"https://api.github.com/users/vctfernandes/gists{/gist_id}","starred_url":"https://api.github.com/users/vctfernandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vctfernandes/subscriptions","organizations_url":"https://api.github.com/users/vctfernandes/orgs","repos_url":"https://api.github.com/users/vctfernandes/repos","events_url":"https://api.github.com/users/vctfernandes/events{/privacy}","received_events_url":"https://api.github.com/users/vctfernandes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-04T18:46:37Z","updated_at":"2016-07-04T20:13:38Z","closed_at":"2016-07-04T19:26:22Z","body":"Hey guys,\r\n\r\nI have NodeBB running with a custom SSO login/registration using nodebb-plugin-sso-oauth.\r\nWhenever my user already has a nickname on my site's social profile, profile.displayName will receive this name, when it's a new user, however, my site will simply pass 'User' to NodeBB.\r\nUsually, it should number these users accordingly: User1, User2, etc... However, I've noticed that there is a number of users with username \"User123\" and userslug \"user123\", for example. This generates an issue where users can't access their own profiles, getting \"access denied\" errors.\r\n\r\nCan anyone help me here?"},"comment":{"url":"https://api.github.com/repos/NodeBB/NodeBB/issues/comments/230349217","html_url":"https://github.com/NodeBB/NodeBB/issues/4821#issuecomment-230349217","issue_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/4821","id":230349217,"user":{"login":"vctfernandes","id":13202798,"avatar_url":"https://avatars.githubusercontent.com/u/13202798?v=3","gravatar_id":"","url":"https://api.github.com/users/vctfernandes","html_url":"https://github.com/vctfernandes","followers_url":"https://api.github.com/users/vctfernandes/followers","following_url":"https://api.github.com/users/vctfernandes/following{/other_user}","gists_url":"https://api.github.com/users/vctfernandes/gists{/gist_id}","starred_url":"https://api.github.com/users/vctfernandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vctfernandes/subscriptions","organizations_url":"https://api.github.com/users/vctfernandes/orgs","repos_url":"https://api.github.com/users/vctfernandes/repos","events_url":"https://api.github.com/users/vctfernandes/events{/privacy}","received_events_url":"https://api.github.com/users/vctfernandes/received_events","type":"User","site_admin":false},"created_at":"2016-07-04T20:13:38Z","updated_at":"2016-07-04T20:13:38Z","body":"Let's say that a user register withs User and gets, for example, User123 but User123 is already taken. Shouldn't NodeBB look for a new random number?"}}
{"actor":{"display_login":"vctfernandes"}}