DEV Community

MUSTDOS
MUSTDOS

Posted on

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…

Top comments (0)