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

Creating an API key in the Iglu front-end keeps getting a 401 return code #53

Open
idanby1 opened this Issue May 3, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@idanby1

idanby1 commented May 3, 2016

From a customer:

"Right now I am trying to create an API key in the Iglu front-end but unfortunately I keep getting a 401 return code while requesting the resource "/api/auth/keygen" (after introducing the master API key in the top right corner), whereas by using Curl I get a successful result with the command below:

$ curl http://XX.XX.XX.XX:8081/api/auth/keygen -X POST -H "apikey: master-api-key" -d "vendor_prefix=com.xxxxxx"

The only difference I found is that, apparently, the 401 request sent from the front-end (attached image) does not include the "apikey" header, so by adding this header value from the web browser console I am able to make it work. I do not know if you were aware about this particular, that is why I wanted to mail you. Besides this, I will try to go on with the installation by using Curl."

@chuwy

This comment has been minimized.

Member

chuwy commented May 3, 2016

Hey @idanby1! This is a known bug in Iglu Scala Server snowplow/iglu#125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment