Coder Social home page Coder Social logo

Comments (8)

jakub-bochenski avatar jakub-bochenski commented on June 22, 2024 1

Yes I did

from tyk.

andyo-tyk avatar andyo-tyk commented on June 22, 2024

Hi @jakub-bochenski,
Thanks for trying Tyk!
Have you provided the correct authorization secret (the one you set as secret in your tyk.conf file) in the x-tyk-authorization header of your API request?

from tyk.

andyo-tyk avatar andyo-tyk commented on June 22, 2024

Thanks - I'll get one of the team to take a look, to work out why it's not working for you.

from tyk.

lghiur avatar lghiur commented on June 22, 2024

@jakub-bochenski it looks like the payload you're using doesn't contain any access rights, and that's maybe because you want to use this key to access all APIS? If so, for this case allow_master_keys gateway configuration option needs to be enabled.

More information here: https://tyk.io/docs/tyk-oss-gateway/configuration/#allow_master_keys

Let us know if this works for you,
Thank you

from tyk.

jakub-bochenski avatar jakub-bochenski commented on June 22, 2024

@lghiur no, I just wanted to change some settings of the key, without changing the access rights

Is it possible to do it? Or do I have to specify all values again?
I thought the documentation showed a partial update is possible.

Having to specify all values is inconvenient. If you have two people modifying the key concurrently it will result in lost updates (unlike a patch approach)

from tyk.

lghiur avatar lghiur commented on June 22, 2024

@jakub-bochenski at the moment you need to provide all the access rights again, otherwise we assume that you want access to all APIs as mentioned above.

What you describe it would work more within a PATCH request indeed, but that's not supported atm.

from tyk.

jakub-bochenski avatar jakub-bochenski commented on June 22, 2024

OK, thanks for the clarification.

You might want to update the example in the API Docs, as I think it's misleading now

from tyk.

lghiur avatar lghiur commented on June 22, 2024

@jakub-bochenski thanks, I will open an internal ticket for improving docs.

from tyk.

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.