User can register but can't login anymore once disconnected
Hello,
I opened registrations on twinkaga.in today, with Pleroma updated to commit 88b05aea. Users can register and do everything on their account, but when disconnected, they can't relogin anymore. Here's the log of when they try to relogin.
Dec 04 16:12:23 blackmesa mix[6011]: 16:12:23.154 request_id=2lmijr49gvep0vnil80009ah [info] GET /nodeinfo/2.0.json
Dec 04 16:12:23 blackmesa mix[6011]: 16:12:23.156 request_id=2lmijr49gvep0vnil80009ah [info] Sent 200 in 1ms
Dec 04 16:12:25 blackmesa mix[6011]: 16:12:25.415 request_id=2lmijr8g9qbh2k3s040009b1 [info] POST /api/v1/apps
Dec 04 16:12:25 blackmesa mix[6011]: #Ecto.Changeset<
Dec 04 16:12:25 blackmesa mix[6011]: action: nil,
Dec 04 16:12:25 blackmesa mix[6011]: changes: %{
Dec 04 16:12:25 blackmesa mix[6011]: client_id: "nt0Te5Cy6LJ_mnsKCx10jQO_BePdXLq3_ij6Ky6ipm0=",
Dec 04 16:12:25 blackmesa mix[6011]: client_name: "PleromaFE_0.46968103918748183",
Dec 04 16:12:25 blackmesa mix[6011]: client_secret: "[REDACTED]",
Dec 04 16:12:25 blackmesa mix[6011]: redirect_uris: "https://twinkaga.in/oauth-callback",
Dec 04 16:12:25 blackmesa mix[6011]: scopes: "read write follow"
Dec 04 16:12:25 blackmesa mix[6011]: },
Dec 04 16:12:25 blackmesa mix[6011]: errors: [],
Dec 04 16:12:25 blackmesa mix[6011]: data: #Pleroma.Web.OAuth.App<>,
Dec 04 16:12:25 blackmesa mix[6011]: valid?: true
Dec 04 16:12:25 blackmesa mix[6011]: >
Dec 04 16:12:25 blackmesa mix[6011]: {:ok,
Dec 04 16:12:25 blackmesa mix[6011]: %Pleroma.Web.OAuth.App{
Dec 04 16:12:25 blackmesa mix[6011]: __meta__: #Ecto.Schema.Metadata<:loaded, "apps">,
Dec 04 16:12:25 blackmesa mix[6011]: client_id: "nt0Te5Cy6LJ_mnsKCx10jQO_BePdXLq3_ij6Ky6ipm0=",
Dec 04 16:12:25 blackmesa mix[6011]: client_name: "PleromaFE_0.46968103918748183",
Dec 04 16:12:25 blackmesa mix[6011]: client_secret: "[REDACTED]",
Dec 04 16:12:25 blackmesa mix[6011]: id: 52,
Dec 04 16:12:25 blackmesa mix[6011]: inserted_at: ~N[2018-12-04 15:12:25.417070],
Dec 04 16:12:25 blackmesa mix[6011]: redirect_uris: "https://twinkaga.in/oauth-callback",
Dec 04 16:12:25 blackmesa mix[6011]: scopes: "read write follow",
Dec 04 16:12:25 blackmesa mix[6011]: updated_at: ~N[2018-12-04 15:12:25.417094],
Dec 04 16:12:25 blackmesa mix[6011]: website: nil
Dec 04 16:12:25 blackmesa mix[6011]: }}
Dec 04 16:12:25 blackmesa mix[6011]: 16:12:25.419 request_id=2lmijr8g9qbh2k3s040009b1 [info] Sent 200 in 3ms
Dec 04 16:12:25 blackmesa mix[6011]: 16:12:25.520 request_id=2lmijr8mhgb1tvqdmk0009bh [info] POST /oauth/token
Dec 04 16:12:25 blackmesa mix[6011]: 16:12:25.523 request_id=2lmijr8mhgb1tvqdmk0009bh [info] Sent 400 in 3ms
Dec 04 16:12:25 blackmesa mix[6011]: 16:12:25.661 request_id=2lmijr8uuuje25tek00009c1 [info] POST /api/account/verify_credentials.json
Dec 04 16:12:25 blackmesa mix[6011]: 16:12:25.661 request_id=2lmijr8uuuje25tek00009c1 [info] Sent 403 in 106µs
Dec 04 16:12:25 blackmesa mix[6011]: 16:12:25.663 request_id=2lmijr8v36g5d3f3dk0009ch [info] GET /api/statuses/friends_timeline.json
Dec 04 16:12:25 blackmesa mix[6011]: 16:12:25.663 request_id=2lmijr8v36g5d3f3dk0009ch [info] Sent 403 in 69µs
MastodonFE and PleromaFE have both this error. I tried cleaning and recompiling deps, cleaning and recompiling Pleroma (mix clean, mix compile), I created uuid-ossp in Postgres (because when you make ecto.migrate, there was an error of insufficient privileges when creating the extension), but nothing really explains why it happens. It's the first time it's doing this error, I still can connect to my accounts.
Edited by Leia