Created
October 14, 2019 21:12
-
-
Save saper/a41fe96e5094aa2687e41e867e5f3e74 to your computer and use it in GitHub Desktop.
Pinafore to Pleroma flow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[info] GET /api/v1/instance | |
[debug] Processing with Pleroma.Web.MastodonAPI.MastodonAPIController.masto_instance/2 | |
Parameters: %{} | |
Pipelines: [:api] | |
[info] Sent 200 in 389<C2><B5>s | |
[info] POST /api/v1/apps | |
[debug] Processing with Pleroma.Web.MastodonAPI.MastodonAPIController.create_app/2 | |
Parameters: %{"client_name" => "Pinafore", "redirect_uris" => "http://my-pinafore-instance:4002/settings/instances/add", "scopes" => "read write follow push", "website" => "https://pinafore.social"} | |
Pipelines: [:api] | |
[debug] QUERY OK db=134.1ms queue=1.0ms | |
INSERT INTO "apps" ("client_id","client_name","client_secret","redirect_uris","scopes","website","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6,$7,$8) RETURNING "id" ["1fjlL7Y8Oizq-R4TJpaxr9hZ2BXJzI6-F5KvvMQlbZw", "Pinafore", "xcxY2nivdVT2eJWoTvO1vVspWw3632yCYzGIeKqW3XY", "http://m.saper.info:4002/settings/instances/add", ["read", "write", "follow", "push"], "https://pinafore.social", ~N[2019-10-14 21:09:41], ~N[2019-10-14 21:09:41]] | |
[info] Sent 200 in 159ms | |
[info] GET /oauth/authorize | |
[debug] QUERY OK source="oauth_tokens" db=114.0ms | |
SELECT o0."id", o0."token", o0."refresh_token", o0."scopes", o0."valid_until", o0."user_id", o0."app_id", o0."inserted_at", o0."updated_at", u1."id", u1."bio", u1."email", u1."name", u1."nickname", u1."password_hash", u1."following", u1."ap_id", u1."avatar", u1."local", u1."follower_address", u1."tags", u1."last_refreshed_at", u1."info", u1."inserted_at", u1."updated_at" FROM "oauth_tokens" AS o0 INNER JOIN "users" AS u1 ON u1."id" = o0."user_id" WHERE (o0."token" = $1) ["QwdPuyEOnMtPYtZk9s-7No0jlcRDDMm_esDaAkB5b_A"] | |
[debug] Processing with Pleroma.Web.OAuth.OAuthController.authorize/2 | |
Parameters: %{"client_id" => "1fjlL7Y8Oizq-R4TJpaxr9hZ2BXJzI6-F5KvvMQlbZw", "redirect_uri" => "my-pinafore-instance:4002/settings/instances/add", "response_type" => "code", "scope" => "read write follow push"} | |
Pipelines: [:oauth] | |
[info] Sent 302 in 115ms | |
[debug] QUERY OK source="scheduled_activities" db=0.6ms | |
SELECT s0."id", s0."user_id", s0."scheduled_at", s0."params", s0."inserted_at", s0."updated_at" FROM "scheduled_activities" AS s0 WHERE (s0."scheduled_at" < $1) [~N[2019-10-14 21:10:59]] | |
[debug] Sending keepalive ping |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment