Quantcast
Channel: DreamFactory Forum - Latest posts
Viewing all articles
Browse latest Browse all 5027

How to set Permanent Session for Token in Dreamfactory 2.2.0?

$
0
0

I am building Rest Api and made changes in df.php file by setting

'allow_forever_sessions' => env('DF_ALLOW_FOREVER_SESSIONS', true)

and also use "remember_me":true in code for eg.
{
"id" : 5,
"email" : "Zxy@example.com",
"password" : "Zxy",
"remember_me":true

}
But, still facing token expiration issues. I want to make token life forever.
What can I do to make it alive ?.
Need help.

Thanks.


Viewing all articles
Browse latest Browse all 5027

Trending Articles