Authentication

Logging in as a Frontend-User with the TYPO3 RestApi

The EXT:nnrestapi ships with an endpoint for logging in as a frontend-user (fe_user) and for checking the login-status of the current user.

nnrestapi offers three different options for authenticating:

Full examples on CodePen

Test your API and play with the code in our CodePens:

Codepen example


Link to CodePen

Content

Plain JS

Authentication using Pure JavaScript (Vanilla JS) and ES6

Legacy JS

Authentication for older Browsers (IE11 and below)

AXIOS

Authentication using AXIOS