From 28352f26527cba09e627958dddd0a96b0608df12 Mon Sep 17 00:00:00 2001
From: xeruf <27jf@pm.me>
Date: Wed, 16 Nov 2022 11:24:21 +0000
Subject: [PATCH] docs: adjust credentials guide

---
 README.md | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 667b37b..5c5baa0 100644
--- a/README.md
+++ b/README.md
@@ -22,9 +22,13 @@ Useful tools for administration:
 - append another OAuth2Client definition to `basic/overrides/oauth-clients.yaml`,
   adjusting `metadata.name` and `spec.secretName` as well as `spec.redirectUris`
 - apply changes to the cluster 
-- obtain the generated `client_secret` for you application from kubernetes:
+- obtain the generated `client_secret` for your application from kubernetes:
 
-    kubectl get secret -n flux-system stackspin-nextcloud-home-oauth-variables --template '{{.data.client_secret}}' | base64 -d
+      kubectl get secret -n flux-system stackspin-APP-oauth-variables --template '{{.data.client_secret}}' | base64 -d
+
+  with client_id:
+
+      kubectl get secret -n flux-system stackspin-APP-oauth-variables --template '{{.data.client_id}}{{"\n"}}{{.data.client_secret}}{{"\n"}}' | while read in; do echo $in | base64 -d; echo; done
 
 ## Customizations
 
-- 
GitLab