javascript-solid-server 0.0.141 → 0.0.142

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "javascript-solid-server",
3
- "version": "0.0.141",
3
+ "version": "0.0.142",
4
4
  "description": "A minimal, fast Solid server",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
package/src/idp/views.js CHANGED
@@ -592,6 +592,8 @@ export function landingPage(ctx = {}) {
592
592
  line-height: 1.55;
593
593
  }
594
594
  .landing .signin-note strong { color: #1e293b; }
595
+ .landing .signin-note a { color: #4f46e5; text-decoration: none; font-weight: 500; }
596
+ .landing .signin-note a:hover { text-decoration: underline; }
595
597
  .landing .issuer {
596
598
  margin-top: 18px;
597
599
  text-align: center;
@@ -611,7 +613,7 @@ export function landingPage(ctx = {}) {
611
613
  <a href="/idp/register" class="btn btn-primary" style="text-decoration: none;">Create Account</a>
612
614
 
613
615
  <div class="signin-note">
614
- <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.
616
+ <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.
615
617
  </div>
616
618
 
617
619
  ${issuer ? `<div class="issuer">Issuer: ${escapeHtml(issuer.replace(/\/$/, ''))}</div>` : ''}
package/test/idp.test.js CHANGED
@@ -192,6 +192,8 @@ describe('Identity Provider', () => {
192
192
  assert.match(body, /Solid Pod Server/);
193
193
  assert.match(body, /Create Account/);
194
194
  assert.match(body, /href="\/idp\/register"/);
195
+ // Sign-in note names pilot as the example client (#288).
196
+ assert.match(body, /solid-apps\.github\.io\/pilot/);
195
197
  });
196
198
 
197
199
  it('GET /idp/auth without client_id redirects to /idp', async () => {