Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Client: add some explanations if we cannot retrieve client oauth credentials

Chocobozzzd86099204c07
diff --git a/client/src/app/shared/auth/auth.service.ts b/client/src/app/shared/auth/auth.service.ts
index e12da0b340..c57486d9ae 100644
--- a/client/src/app/shared/auth/auth.service.ts
+++ b/client/src/app/shared/auth/auth.service.ts
@@ -41,7 +41,10 @@ export class AuthService {
console.log('Client credentials loaded.');
},
error => {
- alert(error);
+ alert(
+ `Cannot retrieve OAuth Client credentials: ${error.text}. \n` +
+ 'Ensure you have correctly configured PeerTube (config/ directory), in particular the "webserver" section.'
+ );
}
);