From a188bf1c6fde4baa53bba4623e52447ee3c4645e Mon Sep 17 00:00:00 2001 From: Ruben Verborgh Date: Fri, 15 Oct 2021 09:34:41 +0200 Subject: [PATCH] docs: Explain how to log in. Closes https://github.com/solid/community-server/pull/970 --- templates/error/descriptions/E0002.md.hbs | 15 +++++++++++---- templates/error/descriptions/H401.md.hbs | 16 ++++++++++++++-- 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/templates/error/descriptions/E0002.md.hbs b/templates/error/descriptions/E0002.md.hbs index 7cf273704..52bcba030 100644 --- a/templates/error/descriptions/E0002.md.hbs +++ b/templates/error/descriptions/E0002.md.hbs @@ -1,6 +1,13 @@ # Please log in through an app -Logging in to a Solid Pod needs to happen via a Solid app. +**To log in and access documents, you need to use a Solid app.**
-It is not possible to use the login page directly. -If you are developing an app, -you can use a library such as [`solid-client-authn-js`](https://github.com/inrupt/solid-client-authn-js) to initiate an OIDC authentication flow. +This server provides secure storage, +but it is not a client app. +
+Choose one of the [Solid apps](https://solidproject.org/apps) +to log in and browse Pods. + +If you're developing an app yourself, +use a library such as [`solid-client-authn-js`](https://github.com/inrupt/solid-client-authn-js) +
+to initiate an OIDC authentication flow. diff --git a/templates/error/descriptions/H401.md.hbs b/templates/error/descriptions/H401.md.hbs index d932d6616..bc3a3889b 100644 --- a/templates/error/descriptions/H401.md.hbs +++ b/templates/error/descriptions/H401.md.hbs @@ -1,4 +1,16 @@ # Not logged in -This resource is only accessible by logged in agents. - +**This resource is only accessible by logged in agents.** +
Try logging in and revisiting this resource. + +**To log in and access documents, you need to use a Solid app.** +
+This server provides secure storage, +but it is not a client app. +
+Choose one of the [Solid apps](https://solidproject.org/apps) +to log in and browse Pods. + +Alternatively, +[configure](https://github.com/solid/community-server-recipes) +this server with a default application.