What the web app's sign-in page offers.
GET
/v1/config
const url = 'https://example.com/api/user/v1/config';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/user/v1/configResponses
Section titled “Responses”The sign-in options.
Media typeapplication/json
object
google_enabled
required
Whether /v1/google/start works on this server.
boolean
mail_preview_url
A local mail catcher to show next to “check your inbox”, in development only.
string format: uri
Example generated
{ "google_enabled": true, "mail_preview_url": "https://example.com"}