Skip to content

Commit

Permalink
clean up connect
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhollmann committed Jun 22, 2024
1 parent f6213d6 commit 570f4a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/App/Providers/VatsimConnectProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function __construct()
parent::__construct([
'clientId' => config('connect.id'),
'clientSecret' => config('connect.secret'),
'redirectUri' => route('vatsim.authentication.connect.login'),
'redirectUri' => route('authentication.connect.login'),
'urlAuthorize' => config('connect.endpoints.authorize'),
'urlAccessToken' => config('connect.endpoints.token'),
'urlResourceOwnerDetails' => config('connect.endpoints.user'),
Expand Down
4 changes: 2 additions & 2 deletions resources/views/auth/parts/login-form-oidc.blade.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<form action="{{ route('vatsim.authentication.connect.login') }}" method="GET" id="login-form" class="mt-l">
<form action="{{ route('authentication.connect.login') }}" method="GET" id="login-form" class="mt-l">
{!! csrf_field() !!}

<div>
<button id="oidc-login" class="button outline svg">
<img src="{{ config('vatsim.authentication.connect.icon') }}" height="30px">
<img src="{{ config('connect.icon') }}" height="30px">
<span style="padding-left: 10px">{{ trans('auth.log_in_with', ['socialDriver' => 'VATSIM Connect']) }}</span>
</button>
</div>
Expand Down

0 comments on commit 570f4a2

Please sign in to comment.