Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Closed
eidriahn opened this issue Dec 29, 2024 · 1 comment
Closed

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

eidriahn opened this issue Dec 29, 2024 · 1 comment
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
@eidriahn
Copy link
Author

eidriahn commented Jan 7, 2025

I can take this one, but a nudge in the right direction would be helpfull.

@nextauthjs nextauthjs locked and limited conversation to collaborators Jan 12, 2025
@ThangHuuVu ThangHuuVu converted this issue into discussion #12494 Jan 12, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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