Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attach more info to an api-key #2

Open
ddragosd opened this issue Oct 23, 2015 · 0 comments
Open

attach more info to an api-key #2

ddragosd opened this issue Oct 23, 2015 · 0 comments

Comments

@ddragosd
Copy link
Member

Currently when validating an api-key the Gateway retrieves some extra fields from Redis which are associated to it. ( see https://github.com/adobe-apiplatform/api-gateway-request-validation/blob/master/src/lua/api-gateway/validation/key/redisApiKeyValidator.lua#L62 )

These extra fields are used to decorate the request with more metadata about the application when making the request to the backends or they are used to send more info to analytics.

It would be nice to make the metadata more generic so that people can associate more fields with an application. OAuth token validator and User Profile validator are caching data in a JSON format in Redis and we could re-use the model for the API-KEY too.

ddragosd added a commit that referenced this issue Oct 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant