Repository navigation
Keep native auth progress steady and concise - #1137
Merged
Merged
Conversation
Contributor
|
Maple Auth development preview: https://4b290274.maple-auth-dev.pages.dev Commit: Uses development services. Cloudflare Access applies. Provider OAuth is not configured for PR URLs; use the stable Auth Dev host for OAuth rehearsal. |
This branch was successfully deployed
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.
Agent sign-in briefly exposed a second clickable Return button and changed the centered card height while navigation was still underway. Keep a fixed-width, disabled Signing in… button through minting and automatic return; offer the existing same-grant fallback only after three seconds or a navigation exception. Remove the extra progress paragraphs and keep account confirmation, cancellation and expiry checks intact.
Auth and the Agent loopback page now use content-sized cards with matching top placement, so the logo stays anchored without excess blank space below shorter messages. Successful completion says Signed in / You can close this tab. The updated inline style has its matching CSP hash. Persistence warnings and failures retain their explanations.
Validation: Auth format/lint/typecheck and 124 top-level tests pass (21 Agent return cases per environment); Dev and Prod local artifact builds pass. Agent
just cipasses (981 tests, 5 ignored). A local browser fixture using the actual component and SDK fence, with a 2.5s mint and 0.9s return, keeps card and logo top positions and button dimensions identical before/during sign-in, then preserves the top placement while the completion card contracts to its content at desktop and mobile sizes; 320px has no horizontal overflow. Independent security review found no actionable issues.The first commit hook hit an unrelated process-cleanup test timeout; the exact test passed alone, then the full hook passed on retry. No checks were bypassed.
Real-provider Dev rehearsal with the updated signed Agent package follows merge. No production Auth publication, provider configuration, callback default or client routing changes are included. Research application source is unchanged.