Skip to content
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

Can't enroll using sample app #90

Open
dmarjoram opened this issue Sep 6, 2019 · 0 comments
Open

Can't enroll using sample app #90

dmarjoram opened this issue Sep 6, 2019 · 0 comments

Comments

@dmarjoram
Copy link

dmarjoram commented Sep 6, 2019

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?

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

No branches or pull requests

1 participant