AFFiNE
AFFiNE copied to clipboard
How to create a new account on self-hosted affine
What happened?
I deploy a affine bu docker, and login in by admin user acoount. Now I want to create a new account to my co-worder, but I didn't find how to create a new account. What should I do?
Distribution version
Linux
What browsers are you seeing the problem on if you're using web version?
No response
Relevant log output
No response
Anything else?
No response
Are you willing to submit a PR?
- [ ] Yes I'd like to help by submitting a PR!
Currently the only way to register a new user is by sending magic link through email if configured.
We do provide a GraphQL mutation to sign up but the UI is not implemented yet.
So if it won't bother you, you may open http://your-host-of-affine.com/graphql
, the GraphQL playground and manually call the api:
oooo! Can you paste the code for create new account in your picture? btw, what is magic link, how to configure it?
@StudyingLover
mutation {
signUp(email: "YOUR_EMAIL_ADDRESS", name: "NAME", password: "PASSOWRD" {
id
}
}