I've two Applicaion that are using same database. For file upload i created APIs in App A with sanctum middleware.when user logs in App B i will send the same username and password to App A and create sanctum token there.After i implemented google login i'm stuck with the problem that i can't create sanctum sesstions in App A. someone suggest me a solution for this or better way to approch this problem
@Udev Actually app,permit are two different laravel applications using the same database im creating the tokens in permit and calls app API for file uploads. Tokens are working if i call login api and get token from there..if I manually generate token from permit and send requests it shows unauthorised. I made the changes in .env keep getting 401