Skip to content

Can't enroll using sample app #90

@dmarjoram

Description

@dmarjoram

Hi there,

I may be doing something silly here, but I've cloned the sample app and library, and can't get an enrolment to work. The tenant is configured with Guardian enabled and I've also entered the custom SNS settings for Amazon etc. I've also updated firebase configuration and the guardian.xml resource file with the tenant name.

When a barcode is scanned, the Guardian library performs a call to https://mytenantishere.guardian.auth0.com/api/enroll

This call always returns a 401 with "Missing authentication", error code invalid_token.

D/OkHttp: <-- 401 https://mytenanthere.auth0.com/api/enroll (843ms)
date: Fri, 06 Sep 2019 16:02:54 GMT
content-type: application/json; charset=utf-8
D/OkHttp: content-length: 104
www-authenticate: Ticket
cache-control: no-cache
D/OkHttp: {"statusCode":401,"error":"Unauthorized","message":"Missing authentication","errorCode":"invalid_token"}

Any ideas?

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