GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    teknomunk (teknomunk@pl.polaris-1.work)'s status on Friday, 23-Dec-2022 02:24:58 JST teknomunk teknomunk
    • Alex Gleason
    @alex

    I am having an issue attaching Soapbox to my own custom backend. When performing a login, I get three requests that Soapbox makes to the backend (/api/v1/apps, /oauth/token, /api/v1/accounts/verify_credentials). The last has the server providing this data:

    {
    "name": "Soapbox",
    "website": "https://soapbox.pub/",
    "vapid_key": "705178736"
    }

    But then, the login just sits there. I get no additional requests to the server and no modal error messagess and no errors on the dev console. I am pretty sure I'm not doing something correct, but I am getting no indication of what is wrong so I can correct it.

    I installed using a modified version of step 5 on the page https://soapbox.pub/install/, My data is installed under assets/soapbox/, and assets appear to be loading mostly correctly (I have an outstanding bug where things load slowly)

    Any help would be appreciated.
    In conversation Friday, 23-Dec-2022 02:24:58 JST from pl.polaris-1.work permalink

    Attachments


    1. Domain not in remote thumbnail source whitelist: media.soapbox.pub
      Soapbox - Software for the next generation of social media.
      from Alex Gleason
      Soapbox is beautiful frontend software for the Fediverse. Powering the future of decentralized social media.

    2. https://pl.polaris-1.work/media/723b540fcd0220e7344f164444f176ed7f51dc16d0485baa64524c0066dec8a4.png
    • Embed this notice
      Alex Gleason (alex@gleasonator.com)'s status on Friday, 23-Dec-2022 02:24:54 JST Alex Gleason Alex Gleason
      in reply to

      @teknomunk The response from GET /api/v1/accounts/verify_credentials should return the full account object of the current user. If your custom backend is returning the json data you showed, that isn’t going to work. That seems like the response I’d expect from GET /api/v1/apps/verify_credentials

      In conversation Friday, 23-Dec-2022 02:24:54 JST permalink
    • Embed this notice
      teknomunk (teknomunk@pl.polaris-1.work)'s status on Friday, 23-Dec-2022 02:31:25 JST teknomunk teknomunk
      in reply to
      • Alex Gleason
      @alex That makes sense, because the backend only has /api/v1/apps/verify_credentials implemented.

      This is exactly what I needed. Thanks.
      In conversation Friday, 23-Dec-2022 02:31:25 JST permalink
      Alex Gleason likes this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.