Welcome Guest, Not a member yet? Register   Sign In
How to verify JWT Token in CodeIgniter 3.x for every request from Client
#1

(This post was last modified: 10-02-2022, 11:26 PM by AnatalGrowina.)

After a long time again I am here to resolve my problem. I am much new to Codeigniter framework. I just started learning RESTful api's in CodeIgiter. Then I got to Know about that we can use JWT instead of Sessions. I am able to use the JWT and generated the token successfully. Now the problem here is, I want to verify the generated token for every request from the client. for example, this is the basic url or api,
Now I want to verify something like this:

http://localhost/codeigniter/api?token="here the generated token will come"
How do I implement it, using Codeigniter 3.x

I am using codeigniter-rest server for API calls, and php-jwt to omegle shagle voojio generate tokens.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB