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

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

@wdesouza

Description

@wdesouza

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions