mirror of
https://github.com/stablyai/orca.git
synced 2026-10-17 16:02:55 +00:00
fix(auth): simplify sign-in completion page
Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
@@ -49,11 +49,6 @@ export const ORCA_CLOUD_CALLBACK_SUCCESS_PAGE = `<!doctype html>
|
||||
padding: 48px 0;
|
||||
text-align: center;
|
||||
}
|
||||
.brand {
|
||||
margin-bottom: 36px;
|
||||
font-size: 14px;
|
||||
font-weight: 650;
|
||||
}
|
||||
.success-mark {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
@@ -82,7 +77,6 @@ export const ORCA_CLOUD_CALLBACK_SUCCESS_PAGE = `<!doctype html>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<div class="brand">Orca</div>
|
||||
<div class="success-mark" aria-hidden="true">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="m5 12 4 4L19 6"></path>
|
||||
|
||||
@@ -99,6 +99,7 @@ describe('Orca cloud PKCE flow', () => {
|
||||
expect(validResponse.headers['content-security-policy']).toContain("default-src 'none'")
|
||||
expect(validResponse.body).toContain('<h1>Signed in to Orca</h1>')
|
||||
expect(validResponse.body).toContain('You can close this tab and return to the app.')
|
||||
expect(validResponse.body).not.toContain('class="brand"')
|
||||
await expect(flow).resolves.toMatchObject({
|
||||
code: 'real-code',
|
||||
redirectUri,
|
||||
|
||||
Reference in New Issue
Block a user