Giter VIP home page Giter VIP logo

Comments (6)

jhert0 avatar jhert0 commented on June 16, 2024 1

Sorry, I've been kind of busy and just now saw this. I haven't got fedbox and littr to work together. I'll open another issue.

from brutalinks.

mariusor avatar mariusor commented on June 16, 2024

Basically go-littr is just a frontend for a fedbox service backend.

All it does is to load information from fedbox and present it in a "link aggregator" form.

So, the main ingredient is having fedbox running and generating OAuth2 application credentials for the go-littr instance.

However fedbox is currently relying on the fact that it's behind a proxy, because it uses the hostname it's being accessed as for storage purposes. This means that a fedbox server listening on "localhost:4000" needs to have an nginx in front of it receiving requests as "fedbox.local".

When this step is working and you can navigate around fedbox.local, you can plug the address to your go-littr config together with the OAuth credentials. That should be it.

from brutalinks.

vcavallo avatar vcavallo commented on June 16, 2024

The nginx and oauth part is something I had not not considered. I'll report back if I still can't get it working :)
thanks

from brutalinks.

jhert0 avatar jhert0 commented on June 16, 2024

Hi,
I'm also having issues with the getting littr and fedbox to talk to each other correctly. I'm running both littr and fedbox behind nginx.

Originally I was getting a couple of errors, the first one says "error processing oauth2 request: the request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed". The second error I get is "client authentication not sent".

I'm now getting this:

time="2020-07-04T03:23:56Z" level=error msg="http://localhost/objects?context=-&type=Article&type=Note&type=Link&type=Page&type=Document&type=Video&type=Audio: Unable to load from the AP end point: invalid status 404"
time="2020-07-04T03:23:56Z" level=error msg="http://localhost/objects?type=Article&type=Note&type=Link&type=Page&type=Document&type=Video&type=Audio: Unable to load from the AP end point: invalid status 404"

for OAUTH2_KEY I have the client id I got from fedbox and for OAUTH2_SECRET I have the password I put in when I created the admin actor.

from brutalinks.

mariusor avatar mariusor commented on June 16, 2024

@endoffile78 the OAUTH2_KEY and _SECRET should come from the command to add an OAuth2 client, it's the last command in the process.

Please use separate tickets for separate issues though. :)

from brutalinks.

mariusor avatar mariusor commented on June 16, 2024

@vcavallo any updates on this?

@endoffile78 did my explanation above help you, or should we move the discussion to a different issue?

from brutalinks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.