Skip to content

Rails OTP example: API controller, CSRF not disabled - #18

Merged
boxlinknet merged 3 commits into
mainfrom
fix/rails-example-api
Nov 8, 2026
Merged

boxlinknet merged 3 commits into
mainfrom
fix/rails-example-api

Conversation

@boxlinknet

Copy link
Copy Markdown
Member

CodeQL rb/csrf-protection-disabled: the JSON-only example controller now inherits ActionController::API (no cookie session) instead of skipping verify_authenticity_token. Example only.

@github-actions github-actions Bot added the docs label Nov 8, 2026
@boxlinknet
boxlinknet force-pushed the fix/rails-example-api branch from 9bfbd13 to 0a4f0c5 Compare November 8, 2026 10:49
@boxlinknet
boxlinknet merged commit d6be064 into main Nov 8, 2026
11 checks passed
@boxlinknet
boxlinknet deleted the fix/rails-example-api branch November 8, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants