nodeSolidServer / solid-auth-oidc

OpenID Connect authentication support for the solid-client library
MIT License
11 stars 2 forks source link

Display a user-friendly warning on a 401 response to /.well-known #5

Open dmitrizagidulin opened 7 years ago

dmitrizagidulin commented 7 years ago

Catch a 401 Unauthorized response to GET https://localhost:8443/.well-known/openid-configuration during client registration, and warn the user in the console, something like "Cannot register client, server is not in OIDC auth mode".

(Inspired by https://github.com/solid/oidc-auth-manager/issues/6#issuecomment-296525328)