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
However, I'm trying to make a client which is NOT on the same server, and NOT on the same domain.
And my client can NOT have Laravel, because it is just a simple JS codes.
In this case, how is the process to get a API header set to access the server's APIs?
Thank you for reading my question.
The text was updated successfully, but these errors were encountered:
Step 2. My client's PHP part accesses the above custom API to achieve a header set. Actually, this can be done by JS as well, but I just wanted to hide my custom API endpoint URL.
Anyway, it is working, but I feel this is just a kind of wrong approach, because if don't make another security part on the above step 1, anyone can achieve the siganture.
So, I need to make another access control part for the above step 1, but if there is any recommended (or already-made) way to achieve signature from the client safely, I want to know more.
As I've understood from the codes, the below can generate a API header set.
However, I'm trying to make a client which is NOT on the same server, and NOT on the same domain.
And my client can NOT have Laravel, because it is just a simple JS codes.
In this case, how is the process to get a API header set to access the server's APIs?
Thank you for reading my question.
The text was updated successfully, but these errors were encountered: