- Extended GUI
- Available features
Locify client has support for authentication to your service. We are compatible with HTTP Basic Auth.
HTTP Basic Auth example:
- User is not authorized to see some page. Send him:
HTTP/1.0 401 UNAUTHORIZED WWW-Authenticate: Basic realm="Locify basic auth test"
- When user fills username and password, original request is repeated with the additional header:
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==where QWxhZGRpbjpvcGVuIHNlc2FtZQ== is base64 string of combined username and password like this: "base64(username:password)"
- If username and password does not match, it's a good idea to send back alert with some error message. In case user is logged in, use redirection with some sessionID set in cookies. Alerts can also be used for redirection.
How it looks like