fix: use official Weeztix OAuth login and token URLs
Redirect to login.weeztix.com/login per docs; default token host to auth.weeztix.com. Open Ticket setups can override via env. Made-with: Cursor
This commit is contained in:
@@ -52,9 +52,9 @@ class WeeztixOAuthController extends Controller
|
||||
'state' => $state,
|
||||
]);
|
||||
|
||||
$authorizeBase = rtrim(config('weeztix.auth_base_url'), '/').'/tokens/authorize';
|
||||
$authorizeUrl = config('weeztix.oauth_authorize_url');
|
||||
|
||||
return redirect()->away($authorizeBase.'?'.$query);
|
||||
return redirect()->away($authorizeUrl.'?'.$query);
|
||||
}
|
||||
|
||||
public function callback(Request $request): RedirectResponse
|
||||
|
||||
Reference in New Issue
Block a user