RubyGems Navigation menu

knock-oauth2_code_verifier 0.1.1

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

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

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

Runtime Dependencies (3):

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

Owners:

Pushed by:

Authors:

  • Brendan Mulholland

SHA 256 checksum:

60de3d8119ca53cd587253c8b1ede77e8ccdd2c33515868fe8df1f171156cc92

Total downloads 3,561

For this version 1,257

License:

MIT

Required Ruby Version: >= 2.3.0

Links: