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

Skip to content

Bundle issue in account-ui #46314

@edewit

Description

@edewit

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

account/ui

Describe the bug

Account ui is referencing the environment making the bundle only usable within keycloak:

Uncaught Error: Environment variables not found in the document.
    pL http://localhost:5176/node_modules/.vite/deps/keycloak-react_account.js?v=2de2155a:41055
    <anonymous> http://localhost:5176/node_modules/.vite/deps/keycloak-react_account.js?v=2de2155a:44747
[keycloak-react_account.js:41055:11](http://localhost:5176/node_modules/.vite/deps/keycloak-react_account.js?v=2de2155a)

Version

main

Regression

  • The issue is a regression

Expected behavior

The bundle should be usable in any react application

Actual behavior

bundle is giving error on environment options

How to Reproduce?

use the bundle in your own application

Anything else?

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions