Skip to content

chore: replaces idp realm url#580

Open
v3nant wants to merge 1 commit into
mainfrom
chore/migrate-realm-url
Open

chore: replaces idp realm url#580
v3nant wants to merge 1 commit into
mainfrom
chore/migrate-realm-url

Conversation

@v3nant

@v3nant v3nant commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Simplifies getRealmUrl() in src/service/auth-config.svc.ts by replacing the separate NES_KC_BASE and NES_KC_REALM env var overrides with a single hardcoded default URL
  • Removes NES_KC_BASE and NES_KC_REALM env var support — the full realm URL is now a single constant (DEFAULT_REALM_URL) rather than being assembled from parts
  • OAUTH_CONNECT_URL override is preserved for cases that need a non-default endpoint

Test plan

  • Authenticate normally (no env overrides) — confirm it hits https://auth.herodevs.com/idp/realms/universe/protocol/openid-connect
  • Set OAUTH_CONNECT_URL to a custom URL — confirm that value is used instead
  • Confirm NES_KC_BASE / NES_KC_REALM are no longer referenced anywhere in the codebase

@v3nant v3nant requested a review from a team as a code owner June 9, 2026 15:24
@v3nant v3nant force-pushed the chore/migrate-realm-url branch from c303c22 to 7c11d4a Compare June 9, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant