Comments (8)
Yes I did
from tyk.
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.
Thanks - I'll get one of the team to take a look, to work out why it's not working for you.
from tyk.
@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.
@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.
@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.
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.
@jakub-bochenski thanks, I will open an internal ticket for improving docs.
from tyk.
Related Issues (20)
- Setting TYK_GW_HASHKEYFUNCTION changes key format HOT 2
- What is the default value TYK_GW_HASHKEYFUNCTION HOT 3
- Support ULID normalizer HOT 2
- Supporting "else" condition in Tyk "url_rewrites.triggers" HOT 3
- Double response from auth go plugin HOT 1
- Whitelist regex includes listenpath even when "strip_listen_path": true HOT 7
- [TT-10626] extended_paths path handling is inconsistent HOT 2
- [TT-10538] Service Discovery support custom method and request body HOT 1
- [TT-10472] CORS.options_passthrough breaks URLRewriteMiddleware HOT 1
- [TT-10384] Is Tyk (gateway) affected by CVE-2023-44487 ? HOT 3
- Endpoint undeclared but currently accessible HOT 4
- Stale Twitter Icon on Website HOT 2
- Dependency check HOT 2
- Feature Request: Dark/Light Mode Toggle HOT 3
- Tyk API Gateway 5.0.7 : When creating the key for Basic Auth, the key value in responce is "" HOT 1
- OAuth2 client_credentials authentication does not seem to be RFC6749 compliant HOT 3
- Rate limit does not get reset when using more than 1 gateway pods in kubernetes HOT 1
- Optimize rate limit using Lua script
- [Q]: Adding more tests and increasing the Code Coverage HOT 4
- Double response from go plugin virtual endpoint HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tyk.