How I can integrate Laravel Passport API for other website where is login/registration forms and etc..?
If I login via API it gives Bearer token. Where I store it?
API: "https://api.website.com/api/" - Laravel framework
Login "https://customer.website.com/login" - no framework
If user login it gives Bearer token and I think it must store somewhere because if user is logged in it can check only via token if user is authed or not. Token changes every login..
How I integrate API (uses tokens) with no framework website?
I thinked about Curl, but then where I store user Token.. How people use their own API's where is login credentials.
Or I have to use /oauth/token to get Bearer token everytime so I dont need to store.
All API thing is confusing.