Skip to content

fix(oauth-server): /oauth/authorize fatal error - #326

Merged
roncodes merged 1 commit into
release/v1.6.74from
fix/oauth-authorize-route
Oct 25, 2026
Merged

roncodes merged 1 commit into
release/v1.6.74from
fix/oauth-authorize-route

Conversation

@roncodes

Copy link
Copy Markdown
Member

AuthorizationController::authorize() clashed with AuthorizesRequests::authorize() on the base controller. PHP refused to load the class, so GET /oauth/authorize returned a fatal error, and with Octane's cached routes a 403. The method is now start(); the route and the unit test follow.

Found while testing AppHelm's "Continue with Fleetbase Cloud" against a local instance. With this fix, /oauth/authorize redirects to the console consent screen.

The OAuth server unit tests pass (37).

The method clashed with AuthorizesRequests::authorize on the base
controller, so loading the class was a fatal error and GET
/oauth/authorize never worked.
@roncodes
roncodes merged commit ae7740e into release/v1.6.74 Oct 25, 2026
3 checks passed
@roncodes
roncodes deleted the fix/oauth-authorize-route branch October 25, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant