Skip to content

Commit

Permalink
Merge pull request #28 from chromaui/update-oauth-client-id
Browse files Browse the repository at this point in the history
Update OAuth Client ID
  • Loading branch information
ghengeveld committed Aug 9, 2023
2 parents 88af739 + f7e43cd commit 19a9f3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/screens/Authentication/Authentication.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ const meta = {
ctx.json({
device_code: "chdc_95a7123d17a84851abcdefc869ec0741",
user_code: "123 123",
verification_uri: "https://www.chromatic.com/connect/storybook-visual-tests",
verification_uri: "https://www.chromatic.com/connect/chromaui:addon-visual-tests",
verification_uri_complete:
"https://www.chromatic.com/connect/storybook-visual-tests?code=123123",
"https://www.chromatic.com/connect/chromaui:addon-visual-tests?code=123123",
expires_in: 300,
interval: 5,
})
Expand Down
4 changes: 2 additions & 2 deletions src/utils/useSignIn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const signInWithRetry = async (options: {
"Content-Type": "application/x-www-form-urlencoded;charset=UTF-8",
},
body: encodeParams({
client_id: "storybook-visual-tests",
client_id: "chromaui:addon-visual-tests",
code_challenge: challenge,
}),
});
Expand Down Expand Up @@ -117,7 +117,7 @@ const signInWithRetry = async (options: {
}
},
requestBody: encodeParams({
client_id: "storybook-visual-tests",
client_id: "chromaui:addon-visual-tests",
grant_type: "urn:ietf:params:oauth:grant-type:device_code",
device_code,
code_verifier: verifier,
Expand Down

0 comments on commit 19a9f3d

Please sign in to comment.