mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
- Configure Doorkeeper to allow custom URL schemes (maybeapp://) - Disable force_ssl_in_redirect_uri to support non-HTTPS schemes - Add custom Doorkeeper views with mobile OAuth detection - Disable Turbo for mobile OAuth flows to prevent redirect interference - Add display parameter preservation through OAuth flow - Create custom Doorkeeper layouts with proper styling - Add comprehensive integration tests for mobile OAuth flows - Ensure all OAuth pages use proper doorkeeper/application layout This allows the mobile app to complete OAuth authorization flows without the web app interfering with custom URL scheme redirects. 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
793 B
Plaintext
23 lines
793 B
Plaintext
<div class="bg-container rounded-xl p-6 space-y-6">
|
|
<div class="text-center space-y-2">
|
|
<div class="mx-auto w-12 h-12 rounded-full bg-destructive-surface flex items-center justify-center mb-4">
|
|
<%= icon("alert-circle", class: "w-6 h-6 text-destructive") %>
|
|
</div>
|
|
<h1 class="text-2xl font-medium text-primary"><%= t('doorkeeper.authorizations.error.title') %></h1>
|
|
</div>
|
|
|
|
<div class="bg-surface-inset rounded-lg p-4">
|
|
<p class="text-sm text-secondary">
|
|
<%= (local_assigns[:error_response] ? error_response : @pre_auth.error_response).body[:error_description] %>
|
|
</p>
|
|
</div>
|
|
|
|
<div class="text-center">
|
|
<%= render LinkComponent.new(
|
|
text: "Go back",
|
|
href: "javascript:history.back()",
|
|
variant: :secondary
|
|
) %>
|
|
</div>
|
|
</div>
|