Nile Documentation home pagelight logodark logo
  • Community
  • Get Started
  • Get Started
auth
Get available providers
Postgres
Auth
AI
Platform
ManagementAPI
Auth API
Pricing
Templates
Discord
auth
  • POST
    Sign in to the application
  • POST
    Sign out of the application
  • GET
    Get the current session
  • GET
    Get CSRF token
  • GET
    Get available providers
  • POST
    Handle provider callback
  • POST
    Refresh session token
  • GET
    Retrieve password token
  • PUT
    Resets the password
  • POST
    Reset password
users
  • GET
    Identify the principal
  • PUT
    update the principal profile
  • POST
    Signs up a new user
  • PUT
    links an existing user to a tenant
  • DEL
    Unlinks a user from a tenant
  • PUT
    update a user
  • GET
    a list of tenant users
  • POST
    create a new user and assigns them to a tenant
  • GET
    lists tenants of user
  • POST
    Creates a user
tenants
  • GET
    get a tenant
  • PUT
    update a tenant
  • DEL
    delete a tenant
  • POST
    creates a tenant
auth

Get available providers

Returns a list of available authentication providers.

GET
/
v2
/
databases
/
{database}
/
auth
/
providers
[
  {
    "id": "github",
    "name": "GitHub",
    "type": "oauth"
  }
]

Path Parameters

​
database
string
required

The string (id or name, depending on the credentials)

Response

200 - application/json

List of providers

The response is of type object[].

Was this page helpful?

Get CSRF tokenHandle provider callback
[
  {
    "id": "github",
    "name": "GitHub",
    "type": "oauth"
  }
]
Nile Documentation home pagelight logodark logo
xgithublinkedindiscord

Resources

BlogPricingTemplatesCommunity

Company

CareersAbout

Support

Contact SalesGet HelpFAQ
xgithublinkedindiscord
Powered by Mintlify