#Jwt
5 notas · última:
Joken: Elixir JWT library
Joken is a JSON Web Token library for Elixir. The page points to documentation on configuration, signers, asymmetric cryptography, testing, common use cases, migration, and custom header arguments.
How to securely store JWT tokens
The article argues that JWTs should not be stored in local storage or session storage, recommends browser memory only with re-login on refresh, and favors cookies with HttpOnly, Secure, and SameSite settings to reduce XSS and CSRF risk.
How we built passwordless authentication with Auth0 and Elixir/Phoenix
Describes why a React Native app backed by Elixir/Phoenix adopted SMS-based passwordless login with Auth0 and Twilio, and details the backend design using JWTs and Guardian.
Are you using JWTs for user sessions in the correct way?
The article weighs JWTs against opaque session tokens for backend-frontend user sessions, then argues for short-lived JWTs paired with long-lived opaque refresh tokens to keep scalability while reducing revocation and security issues.
NodeJS + Restify + PassportJS + Facebook + Bearer
O texto apresenta um fluxo de autenticação para API REST com Restify e PassportJS sem sessões, usando Facebook OAuth para validar o usuário localmente e devolver um JWT para as requisições seguintes.
