Sign in with WorkOS
GET
/v1/login
const url = 'https://app.caprid.com/v1/login';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.caprid.com/v1/loginOnly with WorkOS login. Open this in a browser. It redirects to the
WorkOS sign-in page, which sends the browser back to
/v1/login/callback. The dashboard’s sign-in button links here.
Responses
Section titled “Responses”Redirect to WorkOS.
This server doesn’t use WorkOS login.
Media typeapplication/json
object
error
required
string
Example
{ "error": "the requested grants exceed the key's scope"}