You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/sso/__snapshots__/sso.spec.ts.snap
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,13 @@ exports[`SSO SSO getAuthorizationURL with a provider generates an authorize url
6
6
7
7
exports[`SSO SSO getAuthorizationURL with no custom api hostname generates an authorize url with the default api hostname 1`] =`"https://api.workos.com/sso/authorize?client_id=proj_123&domain=lyft.com&redirect_uri=example.com%2Fsso%2Fworkos%2Fcallback&response_type=code"`;
8
8
9
-
exports[`SSO SSO getAuthorizationURL with no custom api hostname with projectID instead of clientID generates an authorize url with the default api hostname 1`] =`"https://api.workos.com/sso/authorize?domain=lyft.com&project_id=proj_123&redirect_uri=example.com%2Fsso%2Fworkos%2Fcallback&response_type=code"`;
9
+
exports[`SSO SSO getAuthorizationURL with no custom api hostname with projectID instead of clientID generates an authorize url with the default api hostname 1`] =`"https://api.workos.com/sso/authorize?client_id=proj_123&domain=lyft.com&redirect_uri=example.com%2Fsso%2Fworkos%2Fcallback&response_type=code"`;
10
10
11
11
exports[`SSO SSO getAuthorizationURL with no domain or provider throws an error for incomplete arguments 1`] =`"Incomplete arguments. Need to specify either a 'domain' or 'provider'."`;
12
12
13
13
exports[`SSO SSO getAuthorizationURL with state generates an authorize url with the provided state 1`] =`"https://api.workos.com/sso/authorize?client_id=proj_123&domain=lyft.com&redirect_uri=example.com%2Fsso%2Fworkos%2Fcallback&response_type=code&state=custom%20state"`;
14
14
15
-
exports[`SSO SSO getProfile with a projectID instead of clientID sends a request to the WorkOS api for a profile 1`] =`"project_id=proj_123&client_secret=sk_test_Sz3IQjepeSWaI4cMS4ms4sMuU&grant_type=authorization_code&code=authorization_code"`;
15
+
exports[`SSO SSO getProfile with a projectID instead of clientID sends a request to the WorkOS api for a profile 1`] =`"client_id=proj_123&client_secret=sk_test_Sz3IQjepeSWaI4cMS4ms4sMuU&grant_type=authorization_code&code=authorization_code"`;
16
16
17
17
exports[`SSO SSO getProfile with a projectID instead of clientID sends a request to the WorkOS api for a profile 2`] =`
0 commit comments