Comments (3)
Yeah, I agree with you that at this point the examples and documentation are definitely more than a bit opaque, as I've spent a bit of time getting familiar with Guardian and Ueberauth.
I think the ability to generate some controllers and views during installation would make sense, but I'm not sure if it's what I'd like to have as the default behavior, in order to allow ease of upgrade of the core module on my part. Definitely something I'd be interesting in adding the behavior for, or making it more explicit in the docs about how to customize individual routes.
It sounds like I might have not made the usage of the confirmable and/or invitable options clear, as the default logic allows for creation of a new user with an email and password in the first step, and if the invitiable flow is enabled, optionally allows users to be created in the multiple step flow, where first the user is created, then they are sent an email to create a password.
from sentinel.
I think some examples of the login flow with popular SPA libraries (such as React and Vue) would help a lot in allowing people to learn how to use Sentinel in conjunction with them.
I know it's a lot to ask, and you probably want to keep Sentinel decoupled from the front-end, but in my experience the more prior knowledge you assume when writing docs, the fewer people tend use the stuff you develop.
Anyway, thank you for taking the time to respond. I'll give Sentinel another shot in the near future. Just looking for a "plug and play" JWT auth library right now and don't have the time to dig too deep.
from sentinel.
Yeah, I'll see if I can throw a SPA example up in the Sentinel Example repo I've got.
It's true, the docs as they are aren't properly geared for no experience needed. I'll work on getting that updated. Thank you very much for the feedback @egeersoz.
from sentinel.
Related Issues (20)
- Compilation error on file web/router.ex == HOT 3
- example sentinel app HOT 4
- Ueberauth JSON API HOT 3
- Error while visiting sentinel paths HOT 7
- Error compiling - no function clause matching in Keyword.merge/2 HOT 1
- Error when using it inside an umbrella HOT 2
- Detail Mix Install Task Steps
- Document example a few example API requests HOT 4
- Disable confirmation
- Custom redirect paths HOT 7
- ** (Mix) The task "sentinel.gen.views" could not be found HOT 3
- with statement in Sentinel.Controllers.Html.AuthController.new_user has no else clause
- Guardian V1 Support HOT 3
- Question: Feature testing with Wallaby and ExMachina HOT 2
- Code Error when authenticating through third party provider (i.e. Github)
- Issues using with phoenix 1.3.0 HOT 4
- Uberauthenticator duplicate function with different bodies HOT 1
- Token Customization HOT 1
- Custom Model integration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentinel.