I am using laravel lumen (10) and passport 11 with cashier-paddle package to build my billing section of my API microservice.
When I put the subscription endpoint behind a passport auth middleware so user posts their Authentication headers and token, this call further filters into the call made to paddle's API and the authentication header seems to be injecting into cashier-paddle api call, I recieve an error from paddle that my authentication header is present but modified.
I have documented this error on statckoverflow here https://stackoverflow.com/questions/78148238/laravel-lumen-cashier-paddle-authentication-header-mixing-up-with-passport-authe
Steps To Reproduce
Install passport 11 on laravel lumen 10 with cashier-paddle package.
Create a subscription controller and use code that I have for controller on stack overflow.
Create your Plan model and seed database with your paddle plans.
Now make an API to subscriptions endpoint while passing passports autnenticatation header bearer token.
This API should break the subsequent API to paddle when Authentication token is sent to passport.
Cashier Paddle Version
2 1.0
Laravel Version
10
PHP Version
8.1
Database Driver & Version
No response
Description
I am using laravel lumen (10) and passport 11 with cashier-paddle package to build my billing section of my API microservice.
When I put the subscription endpoint behind a passport auth middleware so user posts their Authentication headers and token, this call further filters into the call made to paddle's API and the authentication header seems to be injecting into cashier-paddle api call, I recieve an error from paddle that my authentication header is present but modified. I have documented this error on statckoverflow here https://stackoverflow.com/questions/78148238/laravel-lumen-cashier-paddle-authentication-header-mixing-up-with-passport-authe
Steps To Reproduce
Install passport 11 on laravel lumen 10 with cashier-paddle package.
Create a subscription controller and use code that I have for controller on stack overflow.
Create your Plan model and seed database with your paddle plans.
Now make an API to subscriptions endpoint while passing passports autnenticatation header bearer token.
This API should break the subsequent API to paddle when Authentication token is sent to passport.