laravins/remote-auth

Remote auth manager

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

Type:project

dev-main 2023-01-29 21:22 UTC

This package is auto-updated.

Last update: 2025-04-29 01:24:27 UTC


README

Introduction

This package allows you to update user password and delete user remotely.

Working with LaravinsRemoteAuthClient package.


Installation

composer require laravins/remote-auth

This will install the package inside your project.

  • Config file located at config/remote-auth/remote-auth-manager.php
  • Dashboard located at resources/views/remote-auth/dashboard.blade.php
  • Controller located at Http/Controllers/RemoteAuth/RemoteAuthController.php
  • JS files located at resources/js/remote-auth/

Publish files

php artisan vendor:publish --tag=remote-auth --ansi --force

Add this line to your webpack.mix.js at root of your project

mix.js('resources/js/remote-auth/index.js', 'public/js/remote-auth.js')
npm i
npm run dev


Config file

This config file will allow you to remotely manage your users off https://my-website.com/ endpoint.

<?php

return [
    //Put here your endpoints
    [
        'name' => 'Locked',
        'url' => 'https://my-website.com/',
        'password' => 'mysecretpass'
    ],
];


Thanks ✌️