You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sorry in actually opening an issue, but I posted my question already in 3 different websites (laravel.io, laracasts and stackoverflow) for more than 2 weeks and didn't get any response so far.
I want to change the way that the access_token is generated, because I want to integrate the FCM (Firebase Cloud Message) in the laravel. FCM works with tokens and there are no reason to not use the same token for Laravel Authentication and push notification(via FCM). I don't think that creating a new table just for that(integrating user with FCM Token) is the best option, at least I hope that is not. :)
So, this is the code to generate the FCM token. Once that is authenticated, the 1 hour expiration date is removed and the token is valid until I logout it from FCM.
How can I add this piece of code in the passport access_token generator?
Any help would be very appreciated! Also, if there are any other community that is more active about this in the internet, I'm willing to post there as well.
Thanks,
Joao
The text was updated successfully, but these errors were encountered:
Hi,
I'm sorry in actually opening an issue, but I posted my question already in 3 different websites (laravel.io, laracasts and stackoverflow) for more than 2 weeks and didn't get any response so far.
I want to change the way that the access_token is generated, because I want to integrate the FCM (Firebase Cloud Message) in the laravel. FCM works with tokens and there are no reason to not use the same token for Laravel Authentication and push notification(via FCM). I don't think that creating a new table just for that(integrating user with FCM Token) is the best option, at least I hope that is not. :)
So, this is the code to generate the FCM token. Once that is authenticated, the 1 hour expiration date is removed and the token is valid until I logout it from FCM.
How can I add this piece of code in the passport access_token generator?
Any help would be very appreciated! Also, if there are any other community that is more active about this in the internet, I'm willing to post there as well.
Thanks,
Joao
The text was updated successfully, but these errors were encountered: