Does anyone know of a guide or have sample code of devise configured for Rails api only?

This page summarizes the projects mentioned and recommended in the original post on /r/rails

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • devise-jwt

    JWT token authentication with devise and rails

  • Depending on how you are using the api, you may not be able to use sessions. I'm not an app developer, so feel free to correct me if I am wrong, but if you have a mobile app front end, then you won't be able to use sessions. You would have to use some kind of tokens I believe. My advice would be to try the gem I linked. There are others that are similar. Devise JWT is another https://github.com/waiting-for-dev/devise-jwt, although I've never set it up myself. Only worked on a project using it. The JWT tokens replace cookies.

  • Rodauth

    Ruby's Most Advanced Authentication Framework

  • There is – Rodauth. Unlike other solutions, Rodauth comes with JSON API support out of the box, with optional JWT if you want tokens. You just install rodauth-rails:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • rodauth-rails

    Rails integration for Rodauth authentication framework

  • There is – Rodauth. Unlike other solutions, Rodauth comes with JSON API support out of the box, with optional JWT if you want tokens. You just install rodauth-rails:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Best way for user auth with a Rails API?

    4 projects | /r/rails | 17 Apr 2023
  • Anyone still using Authlogic ? (Getting Started Guide)

    2 projects | /r/rails | 14 Sep 2022
  • What's going on with Devise for Rails 7 ?!

    7 projects | /r/rails | 21 Feb 2022
  • Rails API Authentication with JWT Options

    2 projects | /r/rails | 9 Dec 2021
  • Behind The Scenes: Devise

    2 projects | /r/ruby | 4 Feb 2021