Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit a75d7ef

Browse files
committed
Update docs
1 parent 3e45129 commit a75d7ef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: docs/source/contents/usage.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ Here an example about how to exchange an access token for a new access token.
133133

134134
import requests
135135

136-
CLIENT_ID = "DBP60x3KUQfCYWZlqFaS_Q"
137-
CLIENT_SECRET="8526270403788522b2444e87ea90c53bcafb984119cec92eeccc12f1"
138-
SUBJECT_TOKEN="Z0FBQUFkF3czZRU...BfdTJkQXlCSm55cVpxQ1A0Y0RkWEtQTT0="
136+
CLIENT_ID =""
137+
CLIENT_SECRET=""
138+
SUBJECT_TOKEN=""
139139
REQUESTED_TOKEN_TYPE="urn:ietf:params:oauth:token-type:access_token"
140140

141141
data = {
@@ -147,7 +147,7 @@ Here an example about how to exchange an access token for a new access token.
147147
}
148148
headers = {'Content-Type': "application/x-www-form-urlencoded" }
149149
response = requests.post(
150-
'https://snf-19725.ok-kno.grnetcloud.net/OIDC/token', verify=False, data=data, headers=headers
150+
'https://example.com/OIDC/token', verify=False, data=data, headers=headers
151151
)
152152

153153
oidc-op will return a json response like this::

0 commit comments

Comments
 (0)