Some of you might've seen my previous discussion about my Discord OAuth extension. The current situation after logging in with Discord is that it prompts a registration form (username, email) to register the Discord account in the database.
What I would like to happen is for Flarum to skip this process and automatically register a user when he first logs into the forum using Discord. This way usernames, emails and avatars will always be synced up.
Is this possible, and if so, how?
GitHub link to extension