Skip to main content
GET
/
v1
/
auth
/
providers
Get OAuth providers
const options = {method: 'GET'};

fetch('http://localhost:8000/v1/auth/providers', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "success": true,
  "data": {
    "emailPassword": true,
    "github": true,
    "google": true,
    "cognito": true,
    "microsoft": true,
    "genericOAuth": [
      {
        "providerId": "<string>",
        "name": "<string>"
      }
    ]
  },
  "meta": {
    "requestId": "<string>",
    "timestamp": "<string>"
  }
}

Response

200 - application/json

Available authentication providers

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required