PHPackages                             yaroslawww/nova-external-login - 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. yaroslawww/nova-external-login

ActiveLibrary

yaroslawww/nova-external-login
==============================

Laravel Nova resource tool that allows a user or other resource to log into an external control panel or application.

1.0.0(4y ago)012MITPHPPHP &gt;7.4

Since May 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/yaroslawww/nova-external-login)[ Packagist](https://packagist.org/packages/yaroslawww/nova-external-login)[ Docs](https://github.com/yaroslawww/nova-external-login)[ RSS](/packages/yaroslawww-nova-external-login/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Laravel Nova cross login tool
=============================

[](#laravel-nova-cross-login-tool)

Laravel Nova resource tool that allows a user or other resource to log into an external control panel or application.

[![external-login](./assets/images/external-login.gif)](./assets/images/external-login.gif)

Installation
------------

[](#installation)

```
composer require yaroslawww/nova-external-login
```

Usage
-----

[](#usage)

### Nova Part

[](#nova-part)

```
ExternalLogin::make()
     ->setUniqueKey('ads-dashboard') // in case if you want add two different logins to same resource
     ->buttonTitle('Login to SPA')
     ->iframePath('/login-as')
     ->redirectPath('/home')
     ->postUrl('https://spa.mydomain.com')
     ->loginUsing(function (NovaRequest $request) {
         return Response::json([
         'data' => [
                 'access_token' => thereFunctionWillGenerateAndReturnToken($request),
                 // other params if need
             ]
         ], 201);
     }),

```

### SPA part

[](#spa-part)

File should contain js something like this

```
export default Vue.extend({
    // ...
    created() {
        window.addEventListener('message', (event) => {
            if (event.origin === this.$config.adminURL) {
                if (event.data && event.data.access_token) {
                    this.$store.dispatch('auth/setToken', event.data.access_token)
                    setTimeout(() => {
                        this.$store
                            .dispatch('auth/getProfile')
                            .then((response) => {
                                console.warn(response)
                                // Some data
                            })
                            .catch((error) => console.error(error))
                    }, 0)
                }
            }
        })
    },
    // ...
})
```

Credits
-------

[](#credits)

- [![Think Studio](https://camo.githubusercontent.com/8e541bece07d503c85a126b5294865faa00e27371048772f566a0cce8c01fd3a/68747470733a2f2f7961726f736c617777772e6769746875622e696f2f696d616765732f73706f6e736f72732f7061636b616765732f6c6f676f2d7468696e6b2d73747564696f2e706e67)](https://think.studio/)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

1810d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23663794?v=4)[yaroslawww](/maintainers/yaroslawww)[@yaroslawww](https://github.com/yaroslawww)

---

Top Contributors

[![yaroslawww](https://avatars.githubusercontent.com/u/23663794?v=4)](https://github.com/yaroslawww "yaroslawww (1 commits)")

---

Tags

loginexternal

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/yaroslawww-nova-external-login/health.svg)

```
[![Health](https://phpackages.com/badges/yaroslawww-nova-external-login/health.svg)](https://phpackages.com/packages/yaroslawww-nova-external-login)
```

###  Alternatives

[overtrue/socialite

A collection of OAuth 2 packages.

1.4k5.5M87](/packages/overtrue-socialite)[auth0/auth0-php

PHP SDK for Auth0 Authentication and Management APIs.

40820.2M68](/packages/auth0-auth0-php)[auth0/login

Auth0 Laravel SDK. Straight-forward and tested methods for implementing authentication, and accessing Auth0's Management API endpoints.

2745.0M3](/packages/auth0-login)[cesargb/laravel-magiclink

Create secure link for access to private data or login in Laravel without password

4571.3M](/packages/cesargb-laravel-magiclink)[socialconnect/auth

Social Connect Auth Component

568845.4k5](/packages/socialconnect-auth)[auth0/symfony

Symfony SDK for Auth0 Authentication and Management APIs.

128738.1k](/packages/auth0-symfony)

PHPackages © 2026

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