ensurePlatformEnabled(); $workspace = $request->user()->currentWorkspace; $this->authorize('manageAccounts', $workspace); return $this->redirectToProvider($request, $this->driver, config('trypost.platforms.discord.scopes')); } public function callback(Request $request): InertiaResponse { return $this->handleCallback($request, $this->driver); } }