|
15 | 15 | "/v1/account": { |
16 | 16 | "post": { |
17 | 17 | "summary": "Get Account", |
18 | | - "description": "Return sub-organization ID associated with a given contact or public identifier.", |
| 18 | + "description": "Return organization id associated with a given phone number, email, public key, credential ID or OIDC token.", |
19 | 19 | "operationId": "AuthProxyService_GetAccount", |
20 | 20 | "responses": { |
21 | 21 | "200": { |
|
41 | 41 | } |
42 | 42 | } |
43 | 43 | ], |
44 | | - "tags": ["Users"] |
| 44 | + "tags": ["Accounts"] |
45 | 45 | } |
46 | 46 | }, |
47 | 47 | "/v1/oauth_login": { |
|
111 | 111 | "/v1/otp_login": { |
112 | 112 | "post": { |
113 | 113 | "summary": "OTP Login", |
114 | | - "description": "Login using a verified OTP token and public key.", |
| 114 | + "description": "Login using a verification token and public key.", |
115 | 115 | "operationId": "AuthProxyService_OtpLogin", |
116 | 116 | "responses": { |
117 | 117 | "200": { |
|
143 | 143 | "/v1/otp_verify": { |
144 | 144 | "post": { |
145 | 145 | "summary": "Verify OTP", |
146 | | - "description": "Verify the OTP code previously sent to the user's contact.", |
| 146 | + "description": "Verify the OTP code previously sent to the user's contact and return a verification token.", |
147 | 147 | "operationId": "AuthProxyService_VerifyOtp", |
148 | 148 | "responses": { |
149 | 149 | "200": { |
|
175 | 175 | "/v1/signup": { |
176 | 176 | "post": { |
177 | 177 | "summary": "Signup", |
178 | | - "description": "Create a new sub-organization and user via the proxy API.", |
| 178 | + "description": "Onboard a new user.", |
179 | 179 | "operationId": "AuthProxyService_Signup", |
180 | 180 | "responses": { |
181 | 181 | "200": { |
|
233 | 233 | } |
234 | 234 | } |
235 | 235 | ], |
236 | | - "tags": ["Organizations"] |
| 236 | + "tags": ["Wallet Kit"] |
237 | 237 | } |
238 | 238 | } |
239 | 239 | }, |
|
428 | 428 | "v1GetWalletKitConfigResponse": { |
429 | 429 | "type": "object", |
430 | 430 | "properties": { |
431 | | - "facebookEnabled": { |
432 | | - "type": "boolean" |
433 | | - }, |
434 | | - "googleEnabled": { |
435 | | - "type": "boolean" |
436 | | - }, |
437 | | - "appleEnabled": { |
438 | | - "type": "boolean" |
439 | | - }, |
440 | | - "emailEnabled": { |
441 | | - "type": "boolean" |
442 | | - }, |
443 | | - "smsEnabled": { |
444 | | - "type": "boolean" |
445 | | - }, |
446 | | - "passkeyEnabled": { |
447 | | - "type": "boolean" |
448 | | - }, |
449 | | - "walletEnabled": { |
450 | | - "type": "boolean" |
451 | | - }, |
452 | | - "openOAuthInPage": { |
453 | | - "type": "boolean" |
454 | | - }, |
455 | | - "passkeySessionExpirationSeconds": { |
456 | | - "type": "string" |
| 431 | + "enabledProviders": { |
| 432 | + "type": "array", |
| 433 | + "items": { |
| 434 | + "type": "string" |
| 435 | + }, |
| 436 | + "description": "List of enabled authentication providers (e.g., 'facebook', 'google', 'apple', 'email', 'sms', 'passkey', 'wallet')", |
| 437 | + "title": "Enabled Providers" |
457 | 438 | }, |
458 | | - "walletSessionExpirationSeconds": { |
459 | | - "type": "string" |
| 439 | + "sessionExpirationSeconds": { |
| 440 | + "type": "string", |
| 441 | + "description": "Session expiration duration in seconds", |
| 442 | + "title": "Session Expiration" |
460 | 443 | }, |
461 | 444 | "organizationId": { |
462 | | - "type": "string" |
| 445 | + "type": "string", |
| 446 | + "description": "The organization ID this configuration applies to", |
| 447 | + "title": "Organization ID" |
463 | 448 | } |
464 | 449 | }, |
465 | 450 | "required": [ |
466 | | - "facebookEnabled", |
467 | | - "googleEnabled", |
468 | | - "appleEnabled", |
469 | | - "emailEnabled", |
470 | | - "smsEnabled", |
471 | | - "passkeyEnabled", |
472 | | - "walletEnabled", |
473 | | - "openOAuthInPage", |
474 | | - "passkeySessionExpirationSeconds", |
475 | | - "walletSessionExpirationSeconds", |
| 451 | + "enabledProviders", |
| 452 | + "sessionExpirationSeconds", |
476 | 453 | "organizationId" |
477 | 454 | ] |
478 | 455 | }, |
|
589 | 566 | "userName": { |
590 | 567 | "type": "string" |
591 | 568 | }, |
592 | | - "subOrgName": { |
| 569 | + "organizationName": { |
593 | 570 | "type": "string" |
594 | 571 | }, |
595 | 572 | "verificationToken": { |
|
0 commit comments