Comments (11)
I would be really interested in this, sounds great.
from guardian.
I have a working example, I just need to write the prose portion. Soon...
from guardian.
@nicholaswyoung let me know if you'd like any kind of help with this guide. Would be a great resource.
from guardian.
@somlor @hassox Okay, I finally have some time to work on these, maybe during the coming weekend. Any input on how they should be structured in the repo? docs/
/ examples/
? Or should they go in a separate guides
repo?
from guardian.
What do you plan to put together @nicholaswyoung? I think that might better dictate where it lives.
@hassox already has a pretty solid example, so I'm not sure there's much need for more of those: https://github.com/hassox/phoenix_guardian
from guardian.
@nicholaswyoung is this something you're still working on or can we close this issue?
from guardian.
@doomspork Still on it. But you can close the issue if doing so is helpful.
I've been busy with a new child, so I haven't had copious amounts of time to dedicate to this project, so progress is slow.
from guardian.
No worries @nicholaswyoung, congrats on the new kid! I just wanted to check in.
from guardian.
I would certainly welcome some instructions or a blog, and ideally for a json api. What I can't see at all from the docs is where the username and password are sent and matched with the database. That must be done before a token can be issued I would expect.
from guardian.
Hey @simonh1000 you can see some walkthroughs on the overstuffed gorilla blog. For example: http://blog.overstuffedgorilla.com/simple-guardian-api-authentication/
from guardian.
This should be a blog entry first. I'll get to that shortly, but for now, I'll close the issue.
from guardian.
Related Issues (20)
- Compilation error in file guardian.ex: type options/0 undefined HOT 1
- Is guardian relying on JWT's fixed side ? HOT 2
- Provide a way to retrieve verifying secret at runtime using connection information
- Help with EnsureNotAuthenticated HOT 1
- Successfully validates a JWT token with a timestamp in the past
- use Bitwise is deprecated in elixir 1.14-dev
- Warning causing compile error with Elixir 1.14.0 HOT 1
- Unable to set secret_key in runtime.exs HOT 12
- changelog is missing in the doc HOT 1
- all_permissions? function returns true even if permission set given is not within the list of permissions provided and compiled
- I would like to be able to set permissions from a DB table rather than hard coded in a permissions set. HOT 8
- guardian.encode_and_sign 1st argument: not an atom HOT 1
- Opaque errors when token verification fails HOT 3
- Using an environment variable as a secret key in elixir 1.14 HOT 2
- Breaking Change on 2.3.1 - Can't encode Bitwise Permissions HOT 6
- Generating a JWT with kty=oct can fail because of incorrect Base64 encoding
- after_encode_and_sign result not used HOT 2
- Move to Elixir 1.14 and otp 25 HOT 3
- system_time vs os_time and time drift HOT 1
- refresh_from_cookie only accepts "default" as key HOT 1
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 guardian.