Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hph/hawk-auth
A Polymer experiment. Authentication and registration as a web component.
https://github.com/hph/hawk-auth
Last synced: 27 days ago
JSON representation
A Polymer experiment. Authentication and registration as a web component.
- Host: GitHub
- URL: https://github.com/hph/hawk-auth
- Owner: hph
- Created: 2015-07-26T15:37:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-27T22:40:47.000Z (over 9 years ago)
- Last Synced: 2024-10-28T03:42:09.197Z (2 months ago)
- Language: HTML
- Homepage:
- Size: 113 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hawk-auth
A simple Polymer element to provide log in and sign up forms. With a single tag
you will get an element containing a log in and sign up form, with material
design paper elements.![hawk-auth example](http://i.imgur.com/xdXy35g.png)
## Installation
You can install the component by running:
bower install --save hph/hawk-auth
## Usage
Add the tag to your project:
You will get a container with a log in and a sign up form in two tabs. The
default configuration is to make `POST` requests with the provided `username`
and `password` values to `/login` and `/signup`, but these values can be
customized. For instance, the following element will use `email` instead of
`username`, use different paths and add an extra `password_confirmation` field
to the sign up form:
Password confirmation