Monica
Log in
API v1

Changed API keys Breaking

Every app connected through OAuth is listed as a connection

The three mobile-sessions endpoints are replaced by oauth-connections, which list, show and end every app connected through OAuth: the mobile app and assistants alike. A connection carries client_name and scopes next to label, which replaces device_name. Every client now sees the consent page at every sign-in, so prompt=none is no longer honoured or advertised. POST /oauth/revoke ends the connection of any client. A scope a client may not ask for is refused by sending invalid_scope back to the return address, when the client registered it, and with a 400 otherwise.

Why this is a breaking change

Call /oauth-connections where you called /mobile-sessions, read label where you read device_name, and expect type oauth_connection.

Why it changed

There is one OAuth sign-in for every client, so there is one list of what is connected.

Changes

Field Change Endpoints
oauth_connection Added
mobile_session Removed
GET /mobile-sessions
GET /mobile-sessions/{mobileSession}
DELETE /mobile-sessions/{mobileSession}

In the same release