Skip to main content
Filter by
Sorted by
Tagged with
4 votes
3 answers
4k views

As part of API development, I use Laravel 9 and use "php-open-source-saver/jwt-auth" package for authentication without tokens. The API works fine, but I get an error when I add the ...
Fidaali Vohra's user avatar
0 votes
1 answer
780 views

I am using firebase/php-jwt for generating JWT Token using the following PHP Source Code <?php include '../vendor/autoload.php'; use Firebase\JWT\JWT; use Firebase\JWT\Key; $privateKey = <<&...
Akshay Khale's user avatar
  • 8,391
1 vote
1 answer
398 views

I am trying to get the jwt token, but i am getting errors everytime with everything that i try. Below are th things that i have tried. I do get the jwt-token without the package but when i use the jwt....
ternary's user avatar
  • 53
1 vote
1 answer
925 views

my server timezone is London and we are in Indian standard Time, everything works fine, except when the jwt and refresh token both expires, I have a scenario where I have to generate a new refresh ...
user1675571's user avatar
1 vote
1 answer
489 views

The problem is that, Zoom creates meeting but not in the correct time as I am expecting it to be: I have tried changing timezones in api.php as I have suspected that creates a problem, but seems like ...
smack857's user avatar
0 votes
1 answer
538 views

I have Codeigniter 4 web app that run REST API with firebase/php-jwt on Laragon 5.0.0210523 environment that run Apache-2.4.47, PHP-8.1.7, and MongoDB-4.0.28. I followed a tutorial and it works fine ...
santo's user avatar
  • 211
0 votes
1 answer
1k views

I am creating a REST API using CI4. I want to create a auth filter and ran into a problem. When token is valid or not send, everything is fine. Problem is when I change the content of token before ...
Lidia K.'s user avatar
  • 279
0 votes
0 answers
439 views

I am creating jwt token in my webserver with PHP jwt tool as below, $key = 'key'; $allowInfinity=true; //for mobile devices allow infinity if($allowInfinity===false) { $token =...
mahen3d's user avatar
  • 7,825
2 votes
1 answer
1k views

I am using the firebase/php-jwt library to authenticate users, I am successfully able to send the access-token, but how can I send a refresh token and create a way to revalidate the refresh token ...
HOSENUR's user avatar
  • 491
2 votes
1 answer
1k views

I am investigating jwt token examples from this link - https://github.com/firebase/php-jwt So i run: composer require firebase/php-jwt And now i have new files and folders in my root directory of my ...
creators's user avatar
  • 183
1 vote
2 answers
2k views

I have a PHP application and I am trying to generate a token to authenticate users so that they can access Firebase from the browser. I have generated a private key from service account in Firebase ...
leandro_rm's user avatar
1 vote
0 answers
464 views

I am new to JWT so apologies in advance. I am using php-jwt library. Headers include_once("includes/jwt/BeforeValidException.php"); include_once("includes/jwt/ExpiredException.php")...
Saad Bashir's user avatar
  • 4,559
2 votes
0 answers
324 views

I have tried to implement JWT into my code for authentication. And it seems to work fine for sometime, and then it fails and returns null. And I am unable to figure out what is returning the null. JWT ...
Saad Bashir's user avatar
  • 4,559
3 votes
2 answers
21k views

I tried to decode the given token with the code below. The key is supposed to be base64 encoded. However when I attempt to decode it tells me I have invalid signature. The token is generated from a ...
Ayaskant Mishra's user avatar
1 vote
0 answers
236 views

I'm having issues with my application, I used php-jwt JSON Web Token Authentication in my angular 9 apps and the token works fine when I'm not redirecting to successful page after login. when ...
Iamgisnet's user avatar
  • 189
4 votes
1 answer
2k views

I am trying to validate apple identityToken using API. I am using the firebase/php-jwt library. I have done the below code. $access_token = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; $...
Sohil Sardhara's user avatar
2 votes
1 answer
2k views

I am trying to generate JWT token for apple connect API (to get sales report) in php. i tried this format (using firebase/php-jwt) $Private_key = file_get_contents('AuthKey_XYZ.p8'); $Issuer_ID = '...
S. M. Ibrahim Lavlu's user avatar
0 votes
1 answer
854 views

I am using firebase/php-jwt in my Backend Api (Using Lumen) to serve Authentication Token. and I am using Angular 6 in Frontend. This is my result from backend after logged in : - { "message": "...
Fahim Uddin's user avatar
10 votes
1 answer
2k views

I'm authenticating my users on my web service and then creating Firebase custom token via php-jwt: // Requires: composer require firebase/php-jwt use Firebase\JWT\JWT; // Get your service account's ...
Rob's user avatar
  • 441k