PHPackages                             nhantamz/tiktok-socialite - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. nhantamz/tiktok-socialite

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

nhantamz/tiktok-socialite
=========================

TikTok (tiktok.com) OAuth2 Provider for Laravel Socialite

v1.0.0(3y ago)09MITPHPPHP ^7.4 || ^8.0

Since Aug 15Pushed 3y agoCompare

[ Source](https://github.com/nhantamz/Laravel-Socialite-TikTok)[ Packagist](https://packagist.org/packages/nhantamz/tiktok-socialite)[ RSS](/packages/nhantamz-tiktok-socialite/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

TikTok
======

[](#tiktok)

```
composer require nhantamz/tiktok-socialite
```

Installation &amp; Basic Usage
------------------------------

[](#installation--basic-usage)

Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), then follow the provider specific instructions below.

### Add configuration to `config/services.php`

[](#add-configuration-to-configservicesphp)

```
'tiktok' => [
  'client_id' => env('TIKTOK_CLIENT_ID'),
  'client_secret' => env('TIKTOK_CLIENT_SECRET'),
  'redirect' => env('TIKTOK_REDIRECT_URI')
],
```

### Add provider event listener

[](#add-provider-event-listener)

Configure the package's listener to listen for `SocialiteWasCalled` events.

Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions.

```
protected $listen = [
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        // ... other providers
        \SocialiteProviders\TikTok\TikTokExtendSocialite::class.'@handle',
    ],
];
```

### Usage

[](#usage)

You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):

```
return Socialite::driver('tiktok')->redirect();
```

Returned User Fields
====================

[](#returned-user-fields)

- id
- union\_id
- name
- avatar

Reference
=========

[](#reference)

- [TikTok Login Kit](https://developers.tiktok.com/doc/login-kit-web)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1366d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c4f962ad421831b87bde94325aaf7194664b947e7d4f5336a59eed4af49a86c5?d=identicon)[nhantamz](/maintainers/nhantamz)

---

Top Contributors

[![lucasmichot](https://avatars.githubusercontent.com/u/513603?v=4)](https://github.com/lucasmichot "lucasmichot (8 commits)")[![nhantamz](https://avatars.githubusercontent.com/u/63847256?v=4)](https://github.com/nhantamz "nhantamz (3 commits)")[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (2 commits)")[![tombanksme](https://avatars.githubusercontent.com/u/22574643?v=4)](https://github.com/tombanksme "tombanksme (1 commits)")[![jesse-davis](https://avatars.githubusercontent.com/u/1972627?v=4)](https://github.com/jesse-davis "jesse-davis (1 commits)")[![Diegslapasteque](https://avatars.githubusercontent.com/u/47917342?v=4)](https://github.com/Diegslapasteque "Diegslapasteque (1 commits)")[![dwightwatson](https://avatars.githubusercontent.com/u/1100408?v=4)](https://github.com/dwightwatson "dwightwatson (1 commits)")

---

Tags

laravelprovideroauthsocialiteTikTok

### Embed Badge

![Health badge](/badges/nhantamz-tiktok-socialite/health.svg)

```
[![Health](https://phpackages.com/badges/nhantamz-tiktok-socialite/health.svg)](https://phpackages.com/packages/nhantamz-tiktok-socialite)
```

###  Alternatives

[socialiteproviders/microsoft

Microsoft OAuth2 Provider for Laravel Socialite

326.1M13](/packages/socialiteproviders-microsoft)[socialiteproviders/instagram

Instagram OAuth2 Provider for Laravel Socialite

421.9M5](/packages/socialiteproviders-instagram)[socialiteproviders/tiktok

TikTok (tiktok.com) OAuth2 Provider for Laravel Socialite

17368.8k1](/packages/socialiteproviders-tiktok)[kovah/laravel-socialite-oidc

OpenID Connect OAuth2 Provider for Laravel Socialite

2073.7k](/packages/kovah-laravel-socialite-oidc)[socialiteproviders/kakao

Kakao OAuth2 Provider for Laravel Socialite

10484.7k4](/packages/socialiteproviders-kakao)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
