1

I am working on medical web application in php codeigniter and javascript. Autheticating user by oauth password credentials. I am getting access token properly. But i dont know how to store access token in codeigniter? I tried in cookies but it not working properly.

What are the best practies to store,use tokens? I understand tokens from client, but i dont know what i should do with php coeigniter.

Thanks.

3
  • Your users should be stored in a database. If this is the case, store the tokens there Commented Jul 2, 2018 at 10:48
  • @BinarWeb i am storing users and tokens also..bt how can i pass that token to http headers Commented Jul 3, 2018 at 12:06
  • Now I understand what you've been asking. Try this Commented Jul 3, 2018 at 13:52

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.