I am trying to use the database of a ruby on rails application to authenticate users using node. I am not a ruby programmer and am having some trouble finding help for this. From what I can tell, the ruby on rails app is configured to use devise and clearance_sha1. I have access to the rails source code and the differnt servers it is running on.
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable, :confirmable,
:encryptable, :encryptor => :clearance_sha1
Any help is appreciated. I am using node v10.19.0.
Thank you in advance