Simple Authentication

Simple login with login/password, returns access and refresh tokens

post/auth/simple/login

Request

  • Base URL: https://musicfun.it-incubator.app/api/1.0
  • URL: https://musicfun.it-incubator.app/api/1.0/auth/simple/login
  • Auth: API key in header api-key

Request body

loginstring required

User login

passwordstring required

User password

rememberMeboolean required

Refresh token lifetime: if true, 7 days; if false, 30 minutes

Response

OK: Token pair retrieved successfully

accessTokenstring required
refreshTokenstring required

Changes

No recorded changes to this operation across all 1 revision of this API.