get-convex / convex-auth

Library for built-in auth
https://labs.convex.dev/auth
40 stars 6 forks source link

PLACEHOLDER_URL returned despite correct issuer URL input #34

Closed 9j closed 1 month ago

9j commented 1 month ago

When attempting to log in using providers with issuers like BattleNet, users are redirected to https://convexauth.mumbojumbo. This seems to indicate a logical error in the implementation.

Steps to reproduce:

  1. Set up authentication with a provider that has an issuer (e.g., BattleNet)
  2. Attempt to log in using this provider
  3. Observe that instead of the correct URL, the user is redirected to https://convexauth.mumbojumbo

Expected behavior: The user should be redirected to the correct issuer URL for authentication.

Actual behavior: The user is redirected to a placeholder URL (https://convexauth.mumbojumbo), which is incorrect.

Additional information: This issue appears to affect providers that have a specific issuer URL. It might be worth checking the logic that handles the issuer URL assignment or redirection process.

xixixao commented 1 month ago

@9j fixed in @convex-dev/auth@0.0.38. Let me know if you run into any other issue! Thanks for the report!