Category : authentication

I am working on Rest Api and i am trying to use JWT Token,But whenever i test api in postman that time i am getting following error 403 Forbidden You don’t have permission to access this resource. Apache/2.4.46 (Win64) PHP/7.3.21 Server at localhost Port 80 I am following this link for integrate JWT Token https://onlinewebtutorblog.com/codeigniter-4-restful-apis-with-jwt-authentication/ ..

Read more

I am trying to get the username a user enters in an input box in a php file as a cookie, then in a JS file read that cookie and get the username. PHP <?php … print(‘ <div class="loginContainer">’ . "n"); print(‘ <label for="userNameBox"><b>Account Login: </b></label>’. "n"); print(‘ <input type="text" class="userName"id="userNameBox" placeholder="Enter Username" required="required">’. "n"); ..

Read more