Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Auth0-based server fail to authenticate requests after login #1632

Open
wdesouza opened this issue Mar 20, 2017 · 0 comments
Open

Auth0-based server fail to authenticate requests after login #1632

wdesouza opened this issue Mar 20, 2017 · 0 comments

Comments

@wdesouza
Copy link

wdesouza commented Mar 20, 2017

I am still trying to make a working example of Auth0-based server authentication. I followed the instructions. I can login into the server and see the landing page after authentication. However, when I tried to retrieve the datasets with the key it raises the "not authenticated" error:

curl -X POST --data '{}' -H 'Content-Type: application/json' -H 'Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbWFpbCI6IndlbGwzMDlAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJpc3MiOiJodHRwczovL3dlbGxpdG9uLmF1dGgwLmNvbS8iLCJzdWIiOiJhdXRoMHw1OGQwMzUxYWJkYWVlZDcwOWUyZDM0NDkiLCJhdWQiOiJWc3JudU11RmpVV253T1pWSDZaaFU4MmlNRWZmODJFWSIsImV4cCI6MTQ5MDA3NjcxMSwiaWF0IjoxNDkwMDQwNzExfQ.ehOVGYp3Nfk2VIV0-xreFNhgn7uLB1DRSkb1lU2qrNM' http://192.168.1.232/datasets/search
{"errorCode": 1430394319, "message": "Not authenticated. Use the key on the server index page."}

I also tried to use the @david4096 configuration but it failed to login (after sign up worked). I am using the server version 0.3.6 installed via pip.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant