open_api_spex
guardian
open_api_spex | guardian | |
---|---|---|
1 | 4 | |
659 | 3,384 | |
2.6% | 0.2% | |
7.1 | 3.2 | |
about 2 months ago | 15 days ago | |
Elixir | Elixir | |
Mozilla Public License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
open_api_spex
-
Building JSON API w/ Authentication as a backend for a mobile app?
For a standard Open API styled json api, I've used open-api-spec and it worked pretty well. It gives you Swagger out of the box and some nice validation tools.
guardian
-
Building JSON API w/ Authentication as a backend for a mobile app?
As for the original question, OP you should check out https://github.com/ueberauth/guardian if you want to roll your own auth. If not rolling you own you can just use a standard Oauth provider and validate their tokens (surprise they are JWTs) in you backend using their public keys.
-
Complete, Production-Ready Phoenix Reference Applications
AuthN: For authentication, I'd look at the built-in auth generator. If you need to add JWT things, joken and/or guardian can probably meet your needs.
What are some alternatives?
Absinthe Graphql - The GraphQL toolkit for Elixir
Pow - Robust, modular, and extendable user authentication system
ueberauth - An Elixir Authentication System for Plug-based Web Applications
coherence - Coherence is a full featured, configurable authentication system for Phoenix
htpasswd - Apache httpasswd file reader/writer in Elixir
oauth2 - An Elixir OAuth 2.0 Client Library
Paseto - An Elixir implementation of Paseto (Platform-Agnostic Security Tokens)
Shield
ueberauth_identity - A username/password Strategy for Überauth
ueberauth_auth0 - Auth0 OAuth2 strategy for Überauth.
phx_gen_auth - An authentication system generator for Phoenix 1.5 applications.
samly - Elixir Plug library to enable SAML 2.0 SP SSO in Phoenix/Plug applications.