Adding support to login via discord oauth.
This commit is contained in:
parent
910a8309b7
commit
8fd07c11a8
10 changed files with 112 additions and 0 deletions
|
|
@ -8,4 +8,16 @@
|
|||
<x-button element="input" type="submit" name="submit" value="Login" class="w-full" />
|
||||
</x-form>
|
||||
|
||||
@if (config('services.discord.client_id'))
|
||||
<div class="flex items-center justify-between my-4">
|
||||
<div class="bg-gray-200 h-px w-full"></div>
|
||||
<div class="mx-4">OR</div>
|
||||
<div class="bg-gray-200 h-px w-full"></div>
|
||||
</div>
|
||||
|
||||
<x-button element="a" href="{{ route('oauth.create', ['driver' => 'discord'])}}" class="text-center w-full">
|
||||
<x-icon name="discord-text-white" class="mx-auto h-8" />
|
||||
</x-button>
|
||||
@endif
|
||||
|
||||
</x-layout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue