--
You received this message because you are subscribed to the Google Groups "Kong" group.
To unsubscribe from this group and stop receiving emails from it, send an email to konglayer+unsubscribe@googlegroups.com.
To post to this group, send email to kong...@googlegroups.com.
Visit this group at https://groups.google.com/group/konglayer.
To view this discussion on the web visit https://groups.google.com/d/msgid/konglayer/8129a5e2-71b5-4ce5-9bf7-b475a740dafc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,Can you clarify where in either this process https://getkong.org/docs/0.10.x/getting-started/enabling-plugins/ or in this document https://getkong.org/plugins/key-authentication/ you are encountering an issue?And/or can you add the calls and responses you made, that did work correctly, before you got to the step in which you are getting stuck?Thanks, Cooper
On Fri, Mar 31, 2017 at 3:08 PM, Azotherian D <gearsf...@gmail.com> wrote:
I am trying to finish up the getting started guide, and I am stuck on verifying that a consumers credentials are valid. I have added the key-auth to the consumer, but when I go to do this line:
curl -i -X GET --url http://localhost:8000 --header "Host: example.com" --header "apikey: ENTER_KEY_HERE" (I use the apikey that I created in the previous step)and I get this error:HTTP/1.1 401 Unauthorized Date: Fri, 31 Mar 2017 22:07:31 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Server: kong/0.10.1 WWW-Authenticate: Bearer realm="service" {"error_description":"The access token is missing","error":"invalid_request"}I have looked through the docs and even on the issues, and nothing is coming up being able to help me. If anyone has any idea on how to fix this, I am gladly open to suggestions. Thank you for your time.
--
You received this message because you are subscribed to the Google Groups "Kong" group.
To unsubscribe from this group and stop receiving emails from it, send an email to konglayer+...@googlegroups.com.
Hi,Can you clarify where in either this process https://getkong.org/docs/0.10.x/getting-started/enabling-plugins/ or in this document https://getkong.org/plugins/key-authentication/ you are encountering an issue?And/or can you add the calls and responses you made, that did work correctly, before you got to the step in which you are getting stuck?Thanks, Cooper
On Fri, Mar 31, 2017 at 3:08 PM, Azotherian D <gearsf...@gmail.com> wrote:
I am trying to finish up the getting started guide, and I am stuck on verifying that a consumers credentials are valid. I have added the key-auth to the consumer, but when I go to do this line:
curl -i -X GET --url http://localhost:8000 --header "Host: example.com" --header "apikey: ENTER_KEY_HERE" (I use the apikey that I created in the previous step)and I get this error:HTTP/1.1 401 Unauthorized Date: Fri, 31 Mar 2017 22:07:31 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Server: kong/0.10.1 WWW-Authenticate: Bearer realm="service" {"error_description":"The access token is missing","error":"invalid_request"}I have looked through the docs and even on the issues, and nothing is coming up being able to help me. If anyone has any idea on how to fix this, I am gladly open to suggestions. Thank you for your time.
--
You received this message because you are subscribed to the Google Groups "Kong" group.
To unsubscribe from this group and stop receiving emails from it, send an email to konglayer+...@googlegroups.com.
-- You received this message because you are subscribed to the Google Groups "Kong" group. To unsubscribe from this group and stop receiving emails from it, send an email to konglayer+...@googlegroups.com. To post to this group, send email to kong...@googlegroups.com. Visit this group at https://groups.google.com/group/konglayer. To view this discussion on the web visit https://groups.google.com/d/msgid/konglayer/2d54b90d-5a45-425f-b62d-b329b862f273%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.