Skip to content

Fix JVM port bind exception and add custom port support#13

Merged
sunildhiman90 merged 1 commit into
mainfrom
fix/issue-12-jvm-port-bind
May 4, 2026
Merged

Fix JVM port bind exception and add custom port support#13
sunildhiman90 merged 1 commit into
mainfrom
fix/issue-12-jvm-port-bind

Conversation

@sunildhiman90

Copy link
Copy Markdown
Owner

This PR resolves the java.net.BindException occurring on the JVM platform when the default port (8080) is already in use.

Changes:

  • Added googleClientRedirectHost and googleClientRedirectScheme to KMAuthConfig to allow custom port configuration.
  • Updated GoogleAuthManagerJvm to use the configured port and added specific error handling for BindException.
  • Removed automatic port scanning to avoid confusing redirect_uri_mismatch errors in the browser.
  • Updated documentation with instructions on matching the app port with the Google Cloud Console.
  • Version bump to 0.3.5.

Fixes #12

@sunildhiman90
sunildhiman90 merged commit 59a490d into main May 4, 2026
1 check passed
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.

RedirectURI port bind exception in 0.3.4

1 participant