Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Sample Program Fails - Anonymous Role always returned #42

Open
greggiles opened this issue Apr 3, 2020 · 0 comments
Open

Sample Program Fails - Anonymous Role always returned #42

greggiles opened this issue Apr 3, 2020 · 0 comments

Comments

@greggiles
Copy link

Describe the bug
After struggling to get example client to work, decided to focus on core functions.
Deploying app per instructions; when I use Hasura api explorer, and use ‘authorization’ header with Bearer deduced from keycloak login, connector always seems to fail validation of token, and returning Anonymous role string

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Hasura ./auth/realm/master/account' and login. Inspect headers to get bearer token.
    Inspect to insure it has appropriate realm roles.
  2. In Hasura api explorer, use authorization header.
  3. Attempt query. If Defined anonymous role doesn’t have access, an error results
  4. See error

Expected behavior
Bearer token privileges are confirmed

Screenshots

Desktop (please complete the following information):

  • attempted in local docker and kibernetes environments
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