From eaafe67554bf8191587e54a35c935eac5d2321e5 Mon Sep 17 00:00:00 2001
From: afaras0572 <slawal@oteemo.com>
Date: Tue, 18 Mar 2025 10:34:31 -0500
Subject: [PATCH] integrating backstage client

---
 chart/resources/dev/baby-yoda-bb-ci.json | 60 +++++++++++++++++++++++-
 chart/resources/dev/baby-yoda.json       | 60 +++++++++++++++++++++++-
 development/baby-yoda.json               | 60 +++++++++++++++++++++++-
 3 files changed, 177 insertions(+), 3 deletions(-)

diff --git a/chart/resources/dev/baby-yoda-bb-ci.json b/chart/resources/dev/baby-yoda-bb-ci.json
index 5a6afcb6..44646190 100644
--- a/chart/resources/dev/baby-yoda-bb-ci.json
+++ b/chart/resources/dev/baby-yoda-bb-ci.json
@@ -407,7 +407,8 @@
           "attributes": {}
         }
       ],
-      "dev_00eb8904-5b88-4c68-ad67-cec0d2e07aa6_grafana": []
+      "dev_00eb8904-5b88-4c68-ad67-cec0d2e07aa6_grafana": [],
+      "backstage-oauth-client-id": []
     }
   },
   "groups": [
@@ -1014,6 +1015,63 @@
       ],
       "optionalClientScopes": []
     },
+    {
+      "id": "bdd18dea-f428-48c1-bf6e-00a1f7003b2b",
+      "clientId": "backstage-oauth-client-id",
+      "name": "backstage",
+      "description": "",
+      "rootUrl": "https://backstage.dev.bigbang.mil/*",
+      "adminUrl": "https://backstage.dev.bigbang.mil/*",
+      "baseUrl": "",
+      "surrogateAuthRequired": false,
+      "enabled": true,
+      "alwaysDisplayInConsole": false,
+      "clientAuthenticatorType": "client-secret",
+      "secret": "**********",
+      "redirectUris": [
+        "https://backstage.dev.bigbang.mil:7007/*",
+        "https://backstage.dev.bigbang.mil/users/auth/openid_connect/callback*",
+        "http://backstage.dev.bigbang.mil:7007/api/auth/keycloak/handler/frame/*",
+        "https://backstage.dev.bigbang.mil/*"
+      ],
+      "webOrigins": [
+        "+"
+      ],
+      "notBefore": 0,
+      "bearerOnly": false,
+      "consentRequired": false,
+      "standardFlowEnabled": true,
+      "implicitFlowEnabled": false,
+      "directAccessGrantsEnabled": true,
+      "serviceAccountsEnabled": false,
+      "publicClient": false,
+      "frontchannelLogout": true,
+      "protocol": "openid-connect",
+      "attributes": {
+        "oidc.ciba.grant.enabled": "false",
+        "client.secret.creation.time": "1742232720",
+        "backchannel.logout.session.required": "true",
+        "oauth2.device.authorization.grant.enabled": "false",
+        "backchannel.logout.revoke.offline.tokens": "false"
+      },
+      "authenticationFlowBindingOverrides": {},
+      "fullScopeAllowed": true,
+      "nodeReRegistrationTimeout": -1,
+      "defaultClientScopes": [
+        "web-origins",
+        "acr",
+        "roles",
+        "profile",
+        "basic",
+        "email"
+      ],
+      "optionalClientScopes": [
+        "address",
+        "phone",
+        "offline_access",
+        "microprofile-jwt"
+      ]
+    },
     {
       "id": "a28da266-4848-4448-adee-9d11d44a7df2",
       "clientId": "dev_00eb8904-5b88-4c68-ad67-cec0d2e07aa6_holocron",
diff --git a/chart/resources/dev/baby-yoda.json b/chart/resources/dev/baby-yoda.json
index a8fd2dee..7082199f 100644
--- a/chart/resources/dev/baby-yoda.json
+++ b/chart/resources/dev/baby-yoda.json
@@ -407,7 +407,8 @@
           "attributes": {}
         }
       ],
-      "dev_00eb8904-5b88-4c68-ad67-cec0d2e07aa6_grafana": []
+      "dev_00eb8904-5b88-4c68-ad67-cec0d2e07aa6_grafana": [],
+      "backstage-oauth-client-id": []
     }
   },
   "groups": [
@@ -1014,6 +1015,63 @@
       ],
       "optionalClientScopes": []
     },
+    {
+      "id": "bdd18dea-f428-48c1-bf6e-00a1f7003b2b",
+      "clientId": "backstage-oauth-client-id",
+      "name": "backstage",
+      "description": "",
+      "rootUrl": "https://backstage.dev.bigbang.mil/*",
+      "adminUrl": "https://backstage.dev.bigbang.mil/*",
+      "baseUrl": "",
+      "surrogateAuthRequired": false,
+      "enabled": true,
+      "alwaysDisplayInConsole": false,
+      "clientAuthenticatorType": "client-secret",
+      "secret": "**********",
+      "redirectUris": [
+        "https://backstage.dev.bigbang.mil:7007/*",
+        "https://backstage.dev.bigbang.mil/users/auth/openid_connect/callback*",
+        "http://backstage.dev.bigbang.mil:7007/api/auth/keycloak/handler/frame/*",
+        "https://backstage.dev.bigbang.mil/*"
+      ],
+      "webOrigins": [
+        "+"
+      ],
+      "notBefore": 0,
+      "bearerOnly": false,
+      "consentRequired": false,
+      "standardFlowEnabled": true,
+      "implicitFlowEnabled": false,
+      "directAccessGrantsEnabled": true,
+      "serviceAccountsEnabled": false,
+      "publicClient": false,
+      "frontchannelLogout": true,
+      "protocol": "openid-connect",
+      "attributes": {
+        "oidc.ciba.grant.enabled": "false",
+        "client.secret.creation.time": "1742232720",
+        "backchannel.logout.session.required": "true",
+        "oauth2.device.authorization.grant.enabled": "false",
+        "backchannel.logout.revoke.offline.tokens": "false"
+      },
+      "authenticationFlowBindingOverrides": {},
+      "fullScopeAllowed": true,
+      "nodeReRegistrationTimeout": -1,
+      "defaultClientScopes": [
+        "web-origins",
+        "acr",
+        "roles",
+        "profile",
+        "basic",
+        "email"
+      ],
+      "optionalClientScopes": [
+        "address",
+        "phone",
+        "offline_access",
+        "microprofile-jwt"
+      ]
+    },
     {
       "id": "a28da266-4848-4448-adee-9d11d44a7df2",
       "clientId": "dev_00eb8904-5b88-4c68-ad67-cec0d2e07aa6_holocron",
diff --git a/development/baby-yoda.json b/development/baby-yoda.json
index 033eb67f..08b8b903 100644
--- a/development/baby-yoda.json
+++ b/development/baby-yoda.json
@@ -407,7 +407,8 @@
           "attributes": {}
         }
       ],
-      "dev_00eb8904-5b88-4c68-ad67-cec0d2e07aa6_grafana": []
+      "dev_00eb8904-5b88-4c68-ad67-cec0d2e07aa6_grafana": [],
+      "backstage-oauth-client-id": []
     }
   },
   "groups": [
@@ -1014,6 +1015,63 @@
       ],
       "optionalClientScopes": []
     },
+    {
+      "id": "bdd18dea-f428-48c1-bf6e-00a1f7003b2b",
+      "clientId": "backstage-oauth-client-id",
+      "name": "backstage",
+      "description": "",
+      "rootUrl": "https://backstage.dev.bigbang.mil/*",
+      "adminUrl": "https://backstage.dev.bigbang.mil/*",
+      "baseUrl": "",
+      "surrogateAuthRequired": false,
+      "enabled": true,
+      "alwaysDisplayInConsole": false,
+      "clientAuthenticatorType": "client-secret",
+      "secret": "**********",
+      "redirectUris": [
+        "https://backstage.dev.bigbang.mil:7007/*",
+        "https://backstage.dev.bigbang.mil/users/auth/openid_connect/callback*",
+        "http://backstage.dev.bigbang.mil:7007/api/auth/keycloak/handler/frame/*",
+        "https://backstage.dev.bigbang.mil/*"
+      ],
+      "webOrigins": [
+        "+"
+      ],
+      "notBefore": 0,
+      "bearerOnly": false,
+      "consentRequired": false,
+      "standardFlowEnabled": true,
+      "implicitFlowEnabled": false,
+      "directAccessGrantsEnabled": true,
+      "serviceAccountsEnabled": false,
+      "publicClient": false,
+      "frontchannelLogout": true,
+      "protocol": "openid-connect",
+      "attributes": {
+        "oidc.ciba.grant.enabled": "false",
+        "client.secret.creation.time": "1742232720",
+        "backchannel.logout.session.required": "true",
+        "oauth2.device.authorization.grant.enabled": "false",
+        "backchannel.logout.revoke.offline.tokens": "false"
+      },
+      "authenticationFlowBindingOverrides": {},
+      "fullScopeAllowed": true,
+      "nodeReRegistrationTimeout": -1,
+      "defaultClientScopes": [
+        "web-origins",
+        "acr",
+        "roles",
+        "profile",
+        "basic",
+        "email"
+      ],
+      "optionalClientScopes": [
+        "address",
+        "phone",
+        "offline_access",
+        "microprofile-jwt"
+      ]
+    },
     {
       "id": "a28da266-4848-4448-adee-9d11d44a7df2",
       "clientId": "dev_00eb8904-5b88-4c68-ad67-cec0d2e07aa6_holocron",
-- 
GitLab