This Azuriom plugin allow users to authenticate thought Discord OAuth2 API.
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 application here https://discord.com/developers/applications
- Go to plugin's settings and fill client_id and client_secret
Go to plugin/discord-auth
and run composer update
- Configuration via panel admin