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

Is there is a way to debug 401 error? #38

@ahmedmozaly-sg

Description

@ahmedmozaly-sg

On localhost, When I get a token with

curl \
  -d "client_id=admin-cli" \
  -d "username=admin" \
  -d "password=password" \
  -d "grant_type=password" \
  "http://localhost:8080/auth/realms/master/protocol/openid-connect/token"

Then use this token to export any realm, it works as expected
But on prod instance, Token obtained for admin user can only export master realm, Any other realm gives 401 error (although token can be used to access other apis endpoints in any other realm)

Is there is a way to debug 401 errors?

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