NodeBB / NodeBB/nodebb-plugin-sso-oauth2-multiple

Feature request: Allow username selection

Open
#156 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
14
Forks
9
Avg merge
1m
Merged PRs (30d)
7

Description

It happened to use that the OAuth2 / OpenID provider did not provide a username.
Thus, we used the fallback to mail.
This resulted in people getting the same username over and over again.
Why?
Well, they have their own mail servers and mail inboxes and use e.g.: admin@foo.bar, admin@bar.foo, admin@mydomain.local resulting in automatically assigning the usernames admin 0, admin 1 and admin 2.

So a third fallback option to allow users to choose the username would be great.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the plugin's OAuth2/OpenID username fallback flow and identify where email-derived usernames are assigned. The work is done when users can choose a username as a third fallback option while the existing provider and email fallbacks continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.