Biblio is a reference AWS Cognito ClojureScript/Reagent client. It supports the following flows:
- User registration
- User sign-in and sign-out
- Password recovery
- Account (email) confirmation
Creating user management infrastructure is time consuming, with many edge cases and security pitfalls. AWS Cognito provides a low-cost solution that:
- Supports common user flows
- Is highly-available
- Is secured
- Is HIPAA-compliant
- Is PCI-compliant
AWS Cognito supports JWT tokens and can secure API endpoints with JWT-based authentication.
For the above reasons, it is the preferred user management solution for us at ATown Data.
To change the AWS Cognito Pool, see src/bib/customer/client/store.cljs
and change the app-state > cognito
object to reflect the PoolID, ClientID, and Region for the Cognito UserPool and Client associated with the app.
Run the following commands from the root of the project:
lein figwheel
The project will build and a browser window will launch showing the sign-in page.
lein auto sassc once
Please use the Github Issues page for questions, ideas and bug reports. Pull requests are welcome.
Trawler was built by the consulting team at ATown Data. Please contact us if you have a project you'd like to talk to us about!
Distributed under the Eclipse Public License (the same license as Clojure). Copyright © 2017 ATown Data