Applications
Configure a social login provider
PUT/v1/applications/{app_id}/providers/{provider}Henüz kullanılamıyor
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.
Yol parametreleri
app_idstringzorunluÖrnek:
app_sellerproviderstringzorunluDeğerler:
googleapplegithubmicrosoft
Gövde application/json
enabledbooleanmodestringDeğerler:
platformcustomVarsayılan:platformcredentialsobjectOnly 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_usersbooleanApple mode switch only
Varsayılan:
true
Yanıtlar
200OKProvider
Updated provider
providerstringenabledbooleanmodestringDeğerler:
platformcustomstatusstringDeğerler:
readyconnectednot_configurederrorredirect_urlstringÖrnek:
https://auth.seller.anka.io/v1/oauth/apple/callbackshown_namestringName users see on the provider screen
Örnek:
Fox Loginapple_relinkobject3 alan
affectedintegerÖrnek:
128relinkedintegerÖrnek:
87waitingintegerÖrnek:
41