Devise not accepting JSON Token

Devise not accepting JSON Token

Jan 9 ’25
Comments: 2
Answers: 0

-2


This content originally appeared on DEV Community and was authored by MUSTDOS

-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…


This content originally appeared on DEV Community and was authored by MUSTDOS


Print Share Comment Cite Upload Translate Updates
APA

MUSTDOS | Sciencx (2025-01-10T22:41:25+00:00) Devise not accepting JSON Token. Retrieved from https://www.scien.cx/2025/01/10/devise-not-accepting-json-token/

MLA
" » Devise not accepting JSON Token." MUSTDOS | Sciencx - Friday January 10, 2025, https://www.scien.cx/2025/01/10/devise-not-accepting-json-token/
HARVARD
MUSTDOS | Sciencx Friday January 10, 2025 » Devise not accepting JSON Token., viewed ,<https://www.scien.cx/2025/01/10/devise-not-accepting-json-token/>
VANCOUVER
MUSTDOS | Sciencx - » Devise not accepting JSON Token. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/01/10/devise-not-accepting-json-token/
CHICAGO
" » Devise not accepting JSON Token." MUSTDOS | Sciencx - Accessed . https://www.scien.cx/2025/01/10/devise-not-accepting-json-token/
IEEE
" » Devise not accepting JSON Token." MUSTDOS | Sciencx [Online]. Available: https://www.scien.cx/2025/01/10/devise-not-accepting-json-token/. [Accessed: ]
rf:citation
» Devise not accepting JSON Token | MUSTDOS | Sciencx | https://www.scien.cx/2025/01/10/devise-not-accepting-json-token/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.