Add devise token authentication + options#1
Open
lloydwatkin wants to merge 14 commits intobetacraft:mainfrom
Open
Add devise token authentication + options#1lloydwatkin wants to merge 14 commits intobetacraft:mainfrom
lloydwatkin wants to merge 14 commits intobetacraft:mainfrom
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds timing-safe comparison note, token prefix, last_used_at throttling, missing-table error handling, clarifies ActiveAdmin page registration and ResourceRegistry isolation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…admin_path and auth CLI options - mount_path config option (default: /mcp) - current_user_method config option (default: current_admin_user) - menu_parent config option (default: nil) - --auth accepts method name (e.g., devise_token) instead of boolean - --admin-path option for ActiveAdmin page location - Fix page_action routes for create/destroy - Migration guards against existing table - Use prepend for engine route mounting - Remove foreign key from migration Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds a mount_strategy configuration option that controls how the engine mounts its routes. Accepts :prepend (default), :append, or :none. This allows host applications with route constraints (e.g. hostname-based admin routing) to mount the engine manually inside their constraint blocks instead of relying on the auto-prepend which places the mount outside any constraints. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Allow the HTTP header used for Bearer token authentication to be customised. Defaults to "Authorization" for backwards compatibility. Useful when the application sits behind a reverse proxy (e.g. AWS Verified Access) that strips the standard Authorization header before forwarding requests to the origin. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See updated readme for details