8000 Revert "use authServerUrl when defined (#29746)" by jonkoops · Pull Request #29932 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions js/libs/ui-shared/src/context/KeycloakContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@ export const KeycloakProvider = <T extends BaseEnvironment>({
const [error, setError] = useState<unknown>();
const keycloak = useMemo(() => {
const keycloak = new Keycloak({
url:
"authServerUrl" in environment
? (environment.authServerUrl as string)
: environment.authUrl,
url: environment.authUrl,
realm: environment.realm,
clientId: environment.clientId,
});
Expand Down
0