Skip to content

Recognize callback paths with a format suffix - #1170

Merged
sferik merged 1 commit into
masterfrom
fix-callback-path-format
Oct 17, 2026
Merged

sferik merged 1 commit into
masterfrom
fix-callback-path-format

Conversation

@sferik

@sferik sferik commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

A callback to /auth/:provider/callback.json didn't match the callback path, so the strategy never ran and omniauth.auth was nil. A trailing format extension now matches the callback path, in normal and test mode.

Fixes #618

🤖 Generated with Claude Code

A callback to /auth/:provider/callback.json didn't match the callback
path, so the strategy never ran and omniauth.auth was nil. Treat a
trailing format extension as the same callback path, in both normal
and test mode.

Fixes #618
@sferik
sferik merged commit c5d5ad0 into master Oct 17, 2026
32 checks passed
@sferik
sferik deleted the fix-callback-path-format branch October 17, 2026 17:14
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.

When calling /auth/:identity/callback.json , request.env["omniauth.auth"] is nil

1 participant