mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-02 14:48:07 -06:00
account registration flow working
This commit is contained in:
parent
4f3b90d158
commit
bcfa4b8881
8 changed files with 82 additions and 13 deletions
|
|
@ -43,11 +43,11 @@ type Application struct {
|
|||
// And here: https://docs.joinmastodon.org/client/token/
|
||||
type ApplicationPOSTRequest struct {
|
||||
// A name for your application
|
||||
ClientName string `form:"client_name"`
|
||||
ClientName string `form:"client_name" binding:"required"`
|
||||
// Where the user should be redirected after authorization.
|
||||
// To display the authorization code to the user instead of redirecting
|
||||
// to a web page, use urn:ietf:wg:oauth:2.0:oob in this parameter.
|
||||
RedirectURIs string `form:"redirect_uris"`
|
||||
RedirectURIs string `form:"redirect_uris" binding:"required"`
|
||||
// Space separated list of scopes. If none is provided, defaults to read.
|
||||
Scopes string `form:"scopes"`
|
||||
// A URL to the homepage of your app
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue