A simple call that requires no authentication and returns a list of all enabled OAuth services.
/api/v1/settings.oauth
no
GET
curl http://localhost:3000/api/v1/settings.oauth
{ "services": [ { "_id": "iJeY7x4wxnh2p3pLr", "name": "facebook", "clientId": "test", "buttonLabelText": "test", "buttonColor": "#13679A", "buttonLabelColor": "#FFFFFF", "custom": false }, { "_id": "iJeY7x4wxnh2p3pLr", "name": "twitter", "clientId": "test", "buttonLabelText": "", "buttonColor": "", "buttonLabelColor": "", "custom": false }, { "_id": "5RQ4SBL3NuZKsqxaF", "service": "test", "clientId": "test", "custom": true, "serverURL": "/test/test", "tokenPath": "/oauth/token", "identityPath": "/me", "authorizePath": "/oauth/authorize", "scope": "openid", "buttonLabelText": "test", "buttonLabelColor": "#FFFFFF", "loginStyle": "popup", "buttonColor": "#13679A", "tokenSentVia": "payload", "identityTokenSentVia": "default", "usernameField": "dfsgdfgdfgdfgsd", "mergeUsers": true } ], "success": true }
0.64.0
Renamed field appId to clientId and added flag custom to indicate whether the oauth service is customized and fix id inconsistence(set all cases to _id)
appId
clientId
custom
id
_id
0.63.0
Added
Last updated 1 year ago
Rocket.Chat versions receive support for six months after release.