Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/idp/views.js
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,8 @@ export function landingPage(ctx = {}) {
line-height: 1.55;
}
.landing .signin-note strong { color: #1e293b; }
.landing .signin-note a { color: #4f46e5; text-decoration: none; font-weight: 500; }
.landing .signin-note a:hover { text-decoration: underline; }
.landing .issuer {
margin-top: 18px;
text-align: center;
Expand All @@ -611,7 +613,7 @@ export function landingPage(ctx = {}) {
<a href="/idp/register" class="btn btn-primary" style="text-decoration: none;">Create Account</a>

<div class="signin-note">
<strong>Already have an account?</strong> Sign in from inside the Solid app you want to use — the app will redirect here when authentication is needed.
<strong>Already have an account?</strong> Sign in from a Solid app — for example, <a href="https://solid-apps.github.io/pilot/" target="_blank" rel="noopener">pilot</a> is a minimal console you can open right now. Point it at this server and click Sign In.
</div>

${issuer ? `<div class="issuer">Issuer: ${escapeHtml(issuer.replace(/\/$/, ''))}</div>` : ''}
Expand Down
2 changes: 2 additions & 0 deletions test/idp.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ describe('Identity Provider', () => {
assert.match(body, /Solid Pod Server/);
assert.match(body, /Create Account/);
assert.match(body, /href="\/idp\/register"/);
// Sign-in note names pilot as the example client (#288).
assert.match(body, /solid-apps\.github\.io\/pilot/);
});

it('GET /idp/auth without client_id redirects to /idp', async () => {
Expand Down