Skip to content

Commit 7088802

Browse files
authored
DBACLD-183631: improve the OpenID troubleshooting (#240)
1 parent a067b43 commit 7088802

File tree

3 files changed

+303
-148
lines changed

3 files changed

+303
-148
lines changed

.secrets.baseline

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"files": "^.secrets.baseline$",
44
"lines": null
55
},
6-
"generated_at": "2025-06-12T13:27:18Z",
6+
"generated_at": "2025-07-22T09:47:42Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"
@@ -551,19 +551,11 @@
551551
],
552552
"authentication/README.md": [
553553
{
554-
"hashed_secret": "2997f3435ac9971d2e2fdbc81b641efda9861e85",
554+
"hashed_secret": "a4dbc4c842a38795c9f5c1a0b4ad25d168aec263",
555555
"is_secret": false,
556556
"is_verified": false,
557-
"line_number": 130,
558-
"type": "JSON Web Token",
559-
"verified_result": null
560-
},
561-
{
562-
"hashed_secret": "809cf8d34a55b4969c52799171369b690045056d",
563-
"is_secret": false,
564-
"is_verified": false,
565-
"line_number": 133,
566-
"type": "JSON Web Token",
557+
"line_number": 298,
558+
"type": "Basic Auth Credentials",
567559
"verified_result": null
568560
}
569561
],

authentication/Okta/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -264,13 +264,13 @@ In this step, we augment the token with meta-information that is required by the
264264
265265
#### 1. Retrieve Okta Server information.
266266
267-
From the Okta console, in **Security** / **API** / **default** / **Settings** :
268-
- Note the *OKTA_SERVER_NAME* which is the **Okta domain** in the **Issuer** (similar to *\<shortname\>.okta.com*).
267+
- From the Okta console, in **Security** / **API** / **default** / **Settings** :
268+
- Note the *OKTA_SERVER_NAME* which is the **Okta domain** in the **Issuer** (similar to *\<shortname\>.okta.com*).
269269
270270
#### 2. Create a secret with the Okta Server certificate.
271271
272-
To allow ODM services to access the Okta Server, it is mandatory to provide the Okta Server certificate.
273-
You can create the secret as follows:
272+
- To allow ODM services to access the Okta Server, it is mandatory to provide the Okta Server certificate.
273+
You can create the secret as follows:
274274
275275
```
276276
keytool -printcert -sslserver <OKTA_SERVER_NAME> -rfc > okta.crt
@@ -279,10 +279,9 @@ In this step, we augment the token with meta-information that is required by the
279279
280280
#### 3. Generate the ODM configuration file for Okta.
281281
282-
The [script](generateTemplate.sh) allows you to generate the necessary configuration files.
283-
You can download the [okta-odm-script.zip](okta-odm-script.zip) .zip file to your machine. This .zip file contains the [script](generateTemplate.sh) and the content of the [templates](templates) directory.
282+
- Download the [okta-odm-script.zip](okta-odm-script.zip) .zip file to your machine
283+
- and run the script [`generateTemplate.sh`](generateTemplate.sh) to generate the ODM configuration files (using [templates](templates)) :
284284
285-
Generate the files with the following command:
286285
```
287286
./generateTemplate.sh -i <OKTA_CLIENT_ID> -x <OKTA_CLIENT_SECRET> -n <OKTA_SERVER_NAME> -g <OKTA_ODM_GROUP> -s <OKTA_API_SCOPE>
288287
```
@@ -294,10 +293,11 @@ In this step, we augment the token with meta-information that is required by the
294293
- *OKTA_API_SCOPE* has been defined [above](#configure-the-default-authorization-server) (*odmapiusers*)
295294
296295
297-
The files are generated into the `output` directory.
296+
The files are generated into a directory named `output`.
298297
299298
#### 4. Create the Okta authentication secret.
300299
300+
- run the command below to create a secret containing the configuration files generated at the previous step:
301301
```
302302
kubectl create secret generic okta-auth-secret \
303303
--from-file=OdmOidcProviders.json=./output/OdmOidcProviders.json \

0 commit comments

Comments
 (0)