Skip to content
Luna
Esc
↑↓navigate↵open⌘Jpreview

Get sign-in options

Returns what a sign-in page can offer before anyone has logged in. No credential is needed.

GET/_luna/auth/options
Responses
200

The sign-in options.

signupstringrequired

open when anyone can sign up. invite when an account needs an invitation.

editionstringrequired

full, or dev for the server that luna dev runs.

default

The request failed. The status says how and error.message says why.

errorErrorDetailrequired
Show properties
codestring | null

A code for programs to branch on, when the error has one.

messagestringrequired

What went wrong, in a sentence a person can read.

Try it
Server
Request
curl -X GET 'https://luna.example.com/_luna/auth/options' \
  -H 'Accept: application/json'
Response
{
  "signup": "string",
  "edition": "string"
}

Was this page helpful?