Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Callback URL "android-app://com.google.android.googlequicksearchbox/" #10818

Open
ldhdev916 opened this issue May 5, 2024 · 0 comments
Labels
bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.

Comments

@ldhdev916
Copy link

Environment

  System:
    OS: macOS 14.4.1
    CPU: (8) arm64 Apple M1
    Memory: 91.30 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 21.1.0 - /opt/homebrew/bin/node
    Yarn: 1.22.21 - /opt/homebrew/bin/yarn
    npm: 10.2.0 - /opt/homebrew/bin/npm
    pnpm: 9.0.6 - ~/Library/pnpm/pnpm
  Browsers:
    Safari: 17.4.1
  npmPackages:
    next: 14.2.3 => 14.2.3 
    next-auth: 5.0.0-beta.17 => 5.0.0-beta.17 
    react: ^18 => 18.3.1 

Reproduction URL

https://github.com/ldhdev916/demo-next-auth

Describe the issue

When I deploy my website using next-auth in vercel, everything works fine except when I visit my website using android google app(works in android chrome app)

When I visit my website, it shows error

InvalidCallbackUrl: Invalid callback URL. Received: android-app://com.google.android.googlequicksearchbox/. Read more at https://errors.authjs.dev#invalidcallbackurl
import NextAuth from "next-auth";
import Auth0 from "next-auth/providers/auth0";

export const {handlers, auth, signIn} = NextAuth({
    providers: [Auth0]
})
KakaoTalk_Video_2024-05-05-13-17-31.mp4

How to reproduce

Visit website https://demo-next-auth-ldhdev916s-projects.vercel.app using android google app(not chrome app)

Expected behavior

It should not show any errors

@ldhdev916 ldhdev916 added bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime. labels May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Projects
None yet
Development

No branches or pull requests

1 participant