v1 · OpenAPI 3.1Dashboard

Applications

Configure a social login provider

PUT/v1/applications/{app_id}/providers/{provider}Not available yet

Not available yet. mode: platform uses Fox Login's own app (no setup, users see "Fox Login"); Google sign-in already works this way and is turned on or off with PATCH /applications/{app_id}. mode: custom would use the tenant's own app and show its name. Apple, GitHub and Microsoft are planned. Switching Apple between modes changes Apple user IDs: affected users would be emailed and asked to link their account once; progress would be in apple_relink.

Required scope
applications:write
Auth
Secret key · Organization API key

Path parameters

  • app_idstringrequired

    Example: app_seller

  • providerstringrequired

    Values: google apple github microsoft

Body application/json

  • enabledboolean

  • modestring

    Values: platform customDefault: platform

  • credentialsobject

    Only for mode=custom. Google: client_id, client_secret. Apple: team_id, services_id, key_id, private_key. GitHub/Microsoft: client_id, client_secret.

  • notify_affected_usersboolean

    Apple mode switch only

    Default: true

Responses

  • 200OKProvider

    Updated provider

    • providerstring

    • enabledboolean

    • modestring

      Values: platform custom

    • statusstring

      Values: ready connected not_configured error

    • redirect_urlstring

      Example: https://auth.seller.anka.io/v1/oauth/apple/callback

    • shown_namestring

      Name users see on the provider screen

      Example: Fox Login

    • apple_relinkobject

      3 properties
      • affectedinteger

        Example: 128

      • relinkedinteger

        Example: 87

      • waitinginteger

        Example: 41