Skip to content

magrigry/discord-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azuriom Discord authentication

This Azuriom plugin allow users to authenticate thought Discord OAuth2 API.

Installations

Add a login via discord button in your template

Example : ressources/themes/carbon/view/elements near <!-- Authentication Links -->

    @guest
        <li class="nav-item">
            <a class="btn btn-secondary mx-1 my-2" href="{{ route('discord-auth.login') }}">{{ trans('discord-auth::messages.login_via_discord') }}</a>
        </li>
    @endguest

You can also use the admin panel to add a navigation button, but it may be a bit less aesthetic Admin panel -> Navigation

Register a discord app and fill credentials

Update depedencies

Go to plugin/discord-auth and run composer update

Todo

  • Configuration via panel admin

About

An Azuriom plugin to login and register using Discord Oauth2

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors