Skip to content

feat!: adopt laravel-okta v3 logout path alignment - #2

Merged
mikaelpopowicz merged 1 commit into
mainfrom
feat/logout-path-redesign
Sep 29, 2026
Merged

mikaelpopowicz merged 1 commit into
mainfrom
feat/logout-path-redesign

Conversation

@mikaelpopowicz

Copy link
Copy Markdown
Collaborator

What

Adopts bbs-lab/laravel-okta v3.0 (^3.0): the default logout paths align on the common Okta convention.

Purpose v2.0.0 v3.0.0 (default)
Sign-out redirect URI (nova-okta.callback.logout) {nova-path}/authorization-code/callback/logout {nova-path}/authorization-code/logout
Logout initiator (nova-okta.logout) {nova-path}/authorization-code/logout {nova-path}/authorization-code/logout/redirect

NovaOktaPanel inherits path() → no src change. Route names, the login override and the two-factor.login bridge are unchanged; route('nova-okta.logout') still initiates logout.

⚠️ Breaking

From v2.0.0, point the Okta Sign-out redirect URI at {nova-path}/authorization-code/logout (from v1.x or a standard Okta app already whitelisting it, nothing to do). Released as v3.0.0.

Tests

Pest 51 tests / 141 assertions · PHPStan level 8 · Pint · 100% coverage · 100% MSI. Logout tests are name-based; URI assertions updated.

Bumps bbs-lab/laravel-okta to ^3.0, whose default logout paths align on the
common Okta convention:
- sign-out redirect URI (nova-okta.callback.logout):
    nova/authorization-code/callback/logout -> nova/authorization-code/logout
- logout initiator (nova-okta.logout):
    nova/authorization-code/logout -> nova/authorization-code/logout/redirect

NovaOktaPanel inherits path() so no src change; route names unchanged, the 2FA
bridge and menu wiring keep working. Updates test URI assertions, README and
CHANGELOG.

BREAKING CHANGE: from v2.0.0, point the Okta Sign-out redirect URI at
{nova-path}/authorization-code/logout (from v1.x or a standard Okta app already
whitelisting it, nothing to do). Sign-in side unchanged.
Copilot AI balanced review requested due to automatic review settings September 29, 2026 12:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@mikaelpopowicz
mikaelpopowicz merged commit 7bfbb1f into main Sep 29, 2026
7 checks passed
@mikaelpopowicz
mikaelpopowicz deleted the feat/logout-path-redesign branch September 29, 2026 12:43
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.

2 participants