Wp discourse username generation

Hi I successfully connected wp discourse and made it a provider for my discourse however it automatically fetches the username from wordpress when someone logs in for the first time into discourse.
I know this makes sense because its using wp as the database but in our use case. its a bit tricky due to privacy concerns.

Is there anyway to make a step after a user logs in for the first time using wordpress to be asked for a username?

Can i turn wordpress to auth provider using plugins and use openid2? would this make it the same as signing up with google which prompts users to choose a username?

thanks!

I used DIscourse OpenID connect + wp auth server plugins and solved my problem! now everyone is asked to provide a username. there is a username suggestion in the format of user1 etc but that’s fine because now people have control over using their own usernames and I don’t have to worry about their privacy.

How did you do that username prompting?

I didn’t do anything, just the default of those two plugins seemed to work this way!

1 Like