mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-11-10 03:30:08 +01:00
diag: invalid_grant is SSO auth-method mismatch, not bad creds
- feat: creds-test.sh gum probe for SMTP vs PeerTube auth + PeerTubeService::probeAuth() - feat: app-token.sh gum probe for long-lived PeerTube app token (client_credentials) - docs: add copy-paste proof commands to demonstrate the SSO break to admins
This commit is contained in:
1 parent
5460041989
commit
7b6d79c133
8 files changed
+748
-1
No files matched your search
@@ -515,6 +515,19 @@ backup-snapshot:
|
||||
# Utils
|
||||
# ============================================================================
|
||||
|
||||
[group('utils')]
|
||||
creds-test:
|
||||
# Probe the SMTP + PeerTube credentials stored in the DB (gum UI).
|
||||
# --instance / --channel to override the stored PeerTube values
|
||||
# --show-pwd to reveal the decrypted password (interactive confirm)
|
||||
@bash scripts/creds-test.sh
|
||||
|
||||
[group('utils')]
|
||||
app-token:
|
||||
# Probe whether a long-lived PeerTube app token is obtainable.
|
||||
# --instance https://videos.erg.be --client <id> --secret <secret>
|
||||
@bash scripts/app-token.sh
|
||||
|
||||
[group('utils')]
|
||||
clean:
|
||||
@rm -f app/error.log
|
||||
|
||||
Reference in new issue
Block a user