Logo

dev-resources.site

for different kinds of informations.

Devise not accepting JSON Token

Published at
1/10/2025
Categories
ruby
rails
devise
json
Author
MUSTDOS
Categories
4 categories in total
ruby
open
rails
open
devise
open
json
open
Devise not accepting JSON Token
-2

I looked at the parameters in rails console only to find out it added users so I did like this

val json = parseToJsonElement("""
        {"name":"$name","password":"$password"}}"""

However, it's still rejects it as 401 Unauthorized access on the rails side

I used to be able to login with my JSON token through…

Featured ones: