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

Why it is possible to make a request without access_token on Execute Authorization Policy request #198

Open
haydave opened this issue Jan 15, 2018 · 0 comments

Comments

@haydave
Copy link

haydave commented Jan 15, 2018

In Auth0 Authorization Extension documentation access_token is mentioned as required, but in Rule generated by this extension allows to request using just header's x-api-key property for /api/users/{user_id}/policy/{client_id} endpoint:
request.post({ url: EXTENSION_URL + "/api/users/" + user.user_id + "/policy/" + context.clientID, headers: { "x-api-key": "{x-api-key}" }, json: { connectionName: context.connection || user.identities[0].connection, groups: user.groups }, timeout: 5000 }, cb);

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