{ "opencollection": "1.0.0", "info": { "name": "Stytch B2B Authentication Application B2B OAuth API", "version": "2.0.0" }, "items": [ { "info": { "name": "B2B OAuth", "type": "folder" }, "items": [ { "info": { "name": "Authenticate", "type": "http" }, "http": { "method": "POST", "url": "https://api.stytch.com/v1/b2b/oauth/authenticate", "body": { "type": "json", "data": "{}" } }, "docs": "Authenticate a Member given a `token`. This endpoint verifies that the member completed the OAuth flow by verifying that the token is valid and hasn't expired. Provide the `session_duration_minutes` parameter to set the lifetime of the session. If the `session_duration_minutes` parameter is not specified, a Stytch session will be created with a 60 minute duration.\n\nIf the Member is required to complete MFA to log in to the Organization, the returned value of `member_authenticated` will be `fals" }, { "info": { "name": "Authenticate", "type": "http" }, "http": { "method": "POST", "url": "https://api.stytch.com/v1/b2b/oauth/discovery/authenticate", "body": { "type": "json", "data": "{}" } }, "docs": "Authenticates the Discovery OAuth token and exchanges it for an Intermediate\nSession Token. Intermediate Session Tokens can be used for various Discovery login flows and are valid for 10 minutes." } ] } ], "bundled": true }