We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
This is taken from this discussion: tjwebb's answer in this discussion: https://github.com/tjwebb/sails-auth/issues/19
There are three ways you can login:
Use a 3rd party provider by navigating (GET) to /auth/, e.g. /auth/google. This will create a session and the browser will remain authenticated.
Create a form that POSTs to /auth/local. This will also create a session. POST variables are identifier (email) and password.
Use Basic Auth, e.g. https://github.com/hashware/hashpanel/blob/master/js/index.js#L23-L29