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 Provider #6540

Closed
sdairs opened this issue Jan 28, 2023 · 4 comments
Closed

TikTok Provider #6540

sdairs opened this issue Jan 28, 2023 · 4 comments
Labels
enhancement New feature or request good first issue Good issue to take for first time contributors providers stale Did not receive any activity for 60 days

Comments

@sdairs
Copy link

sdairs commented Jan 28, 2023

Description 📓

It would be awesome to have an OOTB Provider for TikTok.

TikTok login docs here https://developers.tiktok.com/doc/login-kit-web/

How to reproduce ☕️

I got it working with the following custom config, but something OOTB would be great:

    {
      id: "tiktok",
      name: "TikTok",
      type: "oauth",
      version: "2.0",
      clientId: process.env.TIKTOK_CLIENT_KEY,
      clientSecret: process.env.TIKTOK_CLIENT_SECRET,
      authorization: {
        url: "https://www.tiktok.com/auth/authorize/",
        params: {
          scope: "user.info.basic,video.list",
          response_type: "code",
          client_key: process.env.TIKTOK_CLIENT_KEY,
          redirect_uri: "https://url/api/auth/signin",
        },
      },
      token: {
        url: "https://open-api.tiktok.com/oauth/access_token/",
        params: {
          client_key: process.env.TIKTOK_CLIENT_KEY,
          client_secret: process.env.TIKTOK_CLIENT_SECRET,
          grant_type: "authorization_code",
        },
      },
      userinfo: "https://open-api.tiktok.com/user/info/",
      profile(profile) {
        return {
          profile: profile,
          id: profile.open_id,
        };
      },
      checks: ["state"],
    },

Contributing 🙌🏽

Yes, I am willing to help implement this feature in a PR

@sdairs sdairs added enhancement New feature or request triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime. labels Jan 28, 2023
@balazsorban44
Copy link
Member

@balazsorban44 balazsorban44 added providers good first issue Good issue to take for first time contributors and removed triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime. labels Jan 28, 2023
@sdairs
Copy link
Author

sdairs commented Jan 29, 2023

This isn't really my area of expertise but gave it a go! #6546

@stale
Copy link

stale bot commented Apr 3, 2023

It looks like this issue did not receive any activity for 60 days. It will be closed in 7 days if no further activity occurs. If you think your issue is still relevant, commenting will keep it open. Thanks!

@stale stale bot added the stale Did not receive any activity for 60 days label Apr 3, 2023
@stale
Copy link

stale bot commented Apr 11, 2023

To keep things tidy, we are closing this issue for now. If you think your issue is still relevant, leave a comment and we might reopen it. Thanks!

@stale stale bot closed this as completed Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good issue to take for first time contributors providers stale Did not receive any activity for 60 days
Projects
None yet
Development

No branches or pull requests

2 participants