I have implemented api with laravel I use passport for authentication
I need to allow only my apk to request this api
Can any one help me with an idea
I use https but is there any other secure method
You need to create a passport client. Any other requests to your API other than from the approved client, will be rejected by the API.
You can find information to setup a client on this link
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.