Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Admin console development fail due to whoami endpoint #29640

@hmlnarik

Description

@hmlnarik

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

admin/ui

Describe the bug

The admin console run locally per instructions https://github.com/keycloak/keycloak/tree/main/js/apps/admin-ui#running-the-keycloak-server does not work due to whoami endpoint returning 403.

image

Version

main

Regression

  • The issue is a regression

Expected behavior

Dev environment works

Actual behavior

Dev environment does not work

How to Reproduce?

  1. Compile clean keycloak via mvn clean install
  2. Run keycloak server: ( cd js/apps/keycloak-server/server/; pnpm run start -- --local --debug )
  3. Run admin console dev environment in another terminal: ( cd js/apps/admin-ui; pnpm run dev )
  4. Visit http://localhost:8080/ and log in

Anything else?

Likely caused by #28930

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions