Sign in Sign up
rubygems

knock-oauth2_code_verifier

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.

Activity

Latest release
5y ago
Total releases
2
Cadence
~daily
Last 12 months
0

Details

License
MIT
First release
Oct 20, 2020
Releases
Version Released
0.1.1 initial
0.1.2 patch