Credential:  
None
  • None
  • Manage Credentials
Launch IDE ↗

Stitch SSO

5.2. Sample Clients

Stitch provides two different SSO clients for local development and testing purposes. These clients are also referenced in the sample code in the remainder of this documentation.

The sample clients provide access to test accounts.

The Introduction to Stitch SSO chapter describes how to make use of the public client, while the Confidential Clients section explains how confidential clients differ from public ones and how to use them.

The client details are as follows:

Public Sample Client
1{
2 "clientId": "test-18fbd892-3b73-43c3-a854-c6f78c681349",
3 "clientSecret": "sample_client_secret",
4 "clientName": "Stitch Example Test Client",
5 "allowedScopes": [
6 "accountholders",
7 "balances",
8 "transactions",
9 "accounts",
10 "offline_access",
11 "openid",
12 "client_apicreditusage"
13 ],
14 "allowedGrantTypes": [
15 "authorization_code"
16 ],
17 "redirectUris": [
18 "https://localhost:3000/return",
19 "https://localhost:8080",
20 "https://localhost:8080/return",
21 "https://localhost:9000/return",
22 "https://localhost:3000",
23 "https://localhost:434343",
24 "https://localhost:434343/return",
25 "https://localhost:9000"
26 ],
27 "postLogoutRedirectUris": [
28 "https://localhost:9000",
29 "https://localhost:8080",
30 "https://localhost:434343",
31 "https://localhost:3000"
32 ],
33 "identityTokenLifetime": 300,
34 "accessTokenLifetime": 3600,
35 "authorizationCodeLifetime": 300,
36 "absoluteRefreshTokenLifetime": 2592000,
37 "slidingRefreshTokenLifetime": 1296000,
38 "allowedCorsOrigins": [
39 "https://localhost:8080",
40 "https://localhost:9000",
41 "https://localhost:3000",
42 "https://localhost:434343"
43 ],
44 "userInteractionRedirectUrls": [
45 "https://localhost:434343/reauthorized",
46 "https://localhost:3000/reauthorized",
47 "https://localhost:9000/reauthorized",
48 "https://localhost:8080/reauthorized"
49 ]
50}
Confidential Sample Client

Certificate

This certificate expires on 2022-04-23T13:30:28. Please check this page regularly as the expiry date approaches for an updated certificate:

Details

1{
2 "clientId": "test-e2a28368-5431-4e7e-b6bd-dc45ac5dfa71",
3 "clientName": "Stitch Example Test Client",
4 "allowedGrantTypes": [
5 "client_credentials",
6 "authorization_code"
7 ],
8 "allowedScopes": [
9 "accountholders",
10 "balances",
11 "transactions",
12 "accounts",
13 "offline_access",
14 "openid",
15 "client_apicreditusage"
16 ],
17 "redirectUris": [
18 "https://localhost:8080/return",
19 "https://localhost:8080",
20 "https://localhost:3000/return",
21 "https://localhost:434343",
22 "https://localhost:9000/return",
23 "https://localhost:3000",
24 "https://localhost:9000",
25 "https://localhost:434343/return"
26 ],
27 "postLogoutRedirectUris": [
28 "https://localhost:8080",
29 "https://localhost:9000",
30 "https://localhost:3000",
31 "https://localhost:434343"
32 ],
33 "accessTokenLifetime": 3600,
34 "authorizationCodeLifetime": 300,
35 "absoluteRefreshTokenLifetime": 63072000,
36 "slidingRefreshTokenLifetime": 5184000,
37 "allowedCorsOrigins": [
38 "https://localhost:434343",
39 "https://localhost:3000",
40 "https://localhost:9000",
41 "https://localhost:8080"
42 ],
43 "userInteractionRedirectUrls": [
44 "https://localhost:434343/reauthorized",
45 "https://localhost:3000/reauthorized",
46 "https://localhost:9000/reauthorized",
47 "https://localhost:8080/reauthorized"
48 ]
49}