colorfield / mastodon-api-php

PHP wrapper for the Mastodon API.
Apache License 2.0
24 stars 3 forks source link

Create user with api / wrapper? #9

Open pwFoo opened 6 years ago

pwFoo commented 6 years ago

Is it possible to create new user with the wrapper / api? Interesting to sync my user with my mastodon instance.

colorfield commented 6 years ago

Not sure to fully understand what is behind sync. There are helpers to authenticate with the api wrapper and an interactive demo. After a quick check of the API documentation, creating a user does not seem to be covered.

pwFoo commented 6 years ago

I searched the API Doc too. Haven't found register user.

I try to avoid double user registrations / logins with my web app I think about to connect.

colorfield commented 6 years ago

Imo the user registration should be delegated to the Mastodon instance, then maybe provide a way to go back to your web app. Here is the login example.