RubyGems Navigation menu

knock-oauth2_code_verifier 0.1.2

Frontend libraries implement OAuth2 flows that authenticate the user with your SPA, but are only part of the picture. If you're storing user data on a backend, you'll need to authenticate them on both the frontend and the backend. That's what Oauth2 Authorization Code Request does, with PKCE thrown in for added security. This gem provides the backend authorization needed, taking in a verification request and logging the user in via JWT with Knock. If you're using Vue/React/etc with a frontend authorization library like @nuxt/auth, and you're running Rails in API mode for your backend, this gem completes the picture.

Gemfile:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  1. 0.1.2 - October 20, 2020 (12,5 KB)
  2. 0.1.1 - October 20, 2020 (12,5 KB)

dependencias de Runtime (3):

knock >= 2.1.0
oauth2 >= 1.4.0
rails >= 5

Propietarios:

Subida por:

Autores:

  • Brendan Mulholland

SHA 256 checksum:

bb085d335d64a72b955d7da762ec4592bf94da2aebfaefe11309cfe07c2dd41e

Total de descargas 3.561

Para esta versión 2.304

Licencia:

MIT

Versión de Ruby requerida: >= 2.3.0

Enlace: