elk-zone / elk

A nimble Mastodon web client
https://elk.zone
MIT License
5.24k stars 534 forks source link

feat: allow account creation for single-server deployments #2690

Open ayoayco opened 3 months ago

ayoayco commented 3 months ago

Elk can be deployed and configured for a specific server using a nuxt runtime config singleInstance. When this is on, we can show a button to "Create an account"

Mastodon API for account creation: https://docs.joinmastodon.org/methods/accounts/#create

Mockup

In this feature we should have two buttons for single-server deployments

Screenshot 2024-03-16 at 09 56 15

Mozilla Social example

I checked how mozilla.social used to do it, but seems we have to do it differently. They have their own Mozilla Accounts page, to which they redirect both "sign in" and "sign up"

stackblitz[bot] commented 3 months ago

Solve in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.