A
A
accountnujen2022-03-13 13:51:27
Web development
accountnujen, 2022-03-13 13:51:27

How to store api token in headless cms if user wants to save authorization?

I came across headless cms and did not understand how the authorization saving logic should work when the user does not want to constantly enter a password. As you know, in headless cms you are given an api token with which you can perform manipulations. I guess that storing a token in an api cookie is not the best idea, so I want to ask the experts: can you explain on your fingers how authorization is saved?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2022-03-13
@bacon

they store it in cookies, in local storage, write their bikes, everything already depends on the specific task and implementation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question