Hi,
Actually i need to apply rules to my app database. And after applying data display as it is with use of the library. For that I use JWT also to generate custom token and get data with that token also. But not working. JWT I get grom here : https://github.com/luciferous/jwt.
Token generation and signInWithCustomToken process through javascript run successfully. But after that applying same token to get data with php not working. and display:
{error: "Unauthorized request."}
So let me know where i was wrong. for the demo purpose I attach code.
Hi, Actually i need to apply rules to my app database. And after applying data display as it is with use of the library. For that I use JWT also to generate custom token and get data with that token also. But not working. JWT I get grom here : https://github.com/luciferous/jwt. Token generation and signInWithCustomToken process through javascript run successfully. But after that applying same token to get data with php not working. and display:
{error: "Unauthorized request."}
send.txt