Skip to content

cant enroll in sample app  #97

Open

Description

@asad24188

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.

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.

content-type: application/json; charset=utf-8
D/OkHttp: content-length: 104
www-authenticate: Ticket
D/OkHttp: {"statusCode":401,"error":"Unauthorized","message":"Missing authentication","errorCode":"invalid_token"}

Activity

  1. tharindukn commented on Jun 26, 2022

    @tharindukn

    @asad24188 did u able to solve the issue?

  2. tharindukn commented on Jun 27, 2022

    @tharindukn

    The Guardian URL in t src/main/res/values/guardian.xml. It should look like this https://<YOUR_TENANT>.guardian.us.auth0.com

    not

    https://<YOUR_TENANT>.guardian.auth0.com

  3. alexAgyapong commented on Jul 29, 2022

    @alexAgyapong

    I'm facing the same issue.
    I have tried the following URLs and still not working

    • https://<YOUR_TENANT>.guardian.auth0.com
    • https://<YOUR_TENANT>.guardian.us.auth0.com
    • https://<YOUR_TENANT>.guardian.eu.auth0.com

    @tharinduk90 @asad24188 are you able to help?

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

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