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

Tiktok error: "The request parameters are malformed." #12437

Open
eidriahn opened this issue Dec 29, 2024 · 0 comments
Open

Tiktok error: "The request parameters are malformed." #12437

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

Comments

@eidriahn
Copy link

eidriahn commented Dec 29, 2024

Environment

Local

Reproduction URL

https://github.com/eidriahn/next-auth-example

Describe the issue

When trying to login with the TikTok provider, during the code/token exchange an error is thrown resulting in a failed login and a "Configuration" error.

How to reproduce

  • Clone the "Reproduction URL" repository.
  • Modify the /etc/hosts file with ``` 127.0.0.0 local.bountiez.co ````, this will allow you to test this locally.
  • Setup a sandbox app for tiktok in the 'tiktok for developers' dashboard:
  • Add "https://local.bountiez.co:3000/auth/callback/tiktok" as a redirect uri in the tiktok app.
  • Set up your .env file with AUTH_SECRET , AUTH_TIKTOK_ID , AUTH_TIKTOK_SECRET
  • Try to log in and see the server logs.

Expected behavior

Instead of throwing an error and re-routing to the error screen the user should be logged in/ created.

@eidriahn eidriahn added bug Something isn't working triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime. labels Dec 29, 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