mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-18 14:39:14 -06:00
Oauth/token (#7)
* add host and protocol options * some fiddling * tidying up and comments * tick off /oauth/token * tidying a bit * tidying * go mod tidy * allow attaching middleware to server * add middleware * more user friendly * add comments * comments * store account + app * tidying * lots of restructuring * lint + tidy
This commit is contained in:
parent
4194f8d88f
commit
aa9ce272dc
30 changed files with 1346 additions and 977 deletions
|
|
@ -6,7 +6,7 @@
|
|||
* [ ] /api/v1/apps/verify_credentials GET (Verify an application works)
|
||||
* [x] /oauth/authorize GET (Show authorize page to user)
|
||||
* [x] /oauth/authorize POST (Get an oauth access code for an app/user)
|
||||
* [ ] /oauth/token POST (Obtain a user-level access token)
|
||||
* [x] /oauth/token POST (Obtain a user-level access token)
|
||||
* [ ] /oauth/revoke POST (Revoke a user-level access token)
|
||||
* [x] /auth/sign_in GET (Show form for user signin)
|
||||
* [x] /auth/sign_in POST (Validate username and password and sign user in)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue