Skip to content

Commit 382442b

Browse files
CopilotSubterrane
andcommitted
Add placeholder values for CLIENT_ID and CLIENT_SECRET
Co-authored-by: Subterrane <5290140+Subterrane@users.noreply.github.com>
1 parent b04c5d7 commit 382442b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ const api = new DefaultApi();
1919
const tokenRequest = new GenerateTokenRequest();
2020
tokenRequest.grantType = 'client_credentials';
2121

22-
// Authorization format: "client_id:{YOUR_CLIENT_ID}, client_secret:{YOUR_CLIENT_SECRET}"
22+
// Replace with your OneLogin API credentials
23+
const CLIENT_ID = 'your_client_id_here';
24+
const CLIENT_SECRET = 'your_client_secret_here';
25+
26+
// Authorization format: "client_id:{CLIENT_ID}, client_secret:{CLIENT_SECRET}"
2327
const authorization = `client_id:${CLIENT_ID}, client_secret:${CLIENT_SECRET}`;
2428

2529
api.generateToken(authorization, tokenRequest, (error, data) => {

0 commit comments

Comments
 (0)