Code Monkey home page Code Monkey logo

Comments (7)

arcanedev-maroc avatar arcanedev-maroc commented on May 20, 2024

Try to add your middleware to your 'config/log-viewer.php' config file: https://github.com/ARCANEDEV/LogViewer/blob/master/config/log-viewer.php#L41

Check also this issue #69

from logviewer.

taos-thiagoaos avatar taos-thiagoaos commented on May 20, 2024

I already did that. But this middleware waiting for a token in header of each request and your package won´t send that.

from logviewer.

arcanedev-maroc avatar arcanedev-maroc commented on May 20, 2024

Did you get a Token not provided error ??

from logviewer.

arcanedev-maroc avatar arcanedev-maroc commented on May 20, 2024

Honestly, i have no clue about the JWT package you're using and how to solve your issue.

You need to post this issue in their repo instead because is unrelated to this package.

from logviewer.

taos-thiagoaos avatar taos-thiagoaos commented on May 20, 2024

Yes. {"error":"token_not_provided"}

from logviewer.

taos-thiagoaos avatar taos-thiagoaos commented on May 20, 2024

No, both package works very well alone, but i would like to use your package with your already done views but with his auth or any other token based auth.

from logviewer.

arcanedev-maroc avatar arcanedev-maroc commented on May 20, 2024

What i mean by unrelated to the LogViewer package, is that your middleware is working in log-viewer routes. Your issue is related to JWT package, because you need to pass a token to your middleware, so you need to read their documentation and check their issues/solutions in JWT repo.

from logviewer.

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.