Let's say that I have a multi page PHP website (on my own server), with a public sections and a protected one; users should authenticate using Caspio APIs.
Each user can be "normal" or "admin" type and, according to this, he can access different pages and will be presented with a different user interface.
So, I should manage user's data as session variables, and the best solution would be using a Rest API (https://howto.caspio.com/web-services-api/rest-api/authenticating-rest/), but I understand that it's not supported by my "Basic plan".
I could use the "Standalone login screen" but I should somehow "intercept" the datas and store them into a cookie, but it is an overcomplicate solution... so probably there's something I'm missing.
How can I achieve this?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
ministry
Hello,
I'm just trying to figure out how Caspio authentication method works.
So far, I've read the documentation, in particular:
- https://howto.caspio.com/authentications-and-connections/authentication/
- https://howto.caspio.com/authentications-and-connections/authentication/create-a-standalone-login-screen-2/,
Let's say that I have a multi page PHP website (on my own server), with a public sections and a protected one; users should authenticate using Caspio APIs.
Each user can be "normal" or "admin" type and, according to this, he can access different pages and will be presented with a different user interface.
So, I should manage user's data as session variables, and the best solution would be using a Rest API (https://howto.caspio.com/web-services-api/rest-api/authenticating-rest/), but I understand that it's not supported by my "Basic plan".
I could use the "Standalone login screen" but I should somehow "intercept" the datas and store them into a cookie, but it is an overcomplicate solution... so probably there's something I'm missing.
How can I achieve this?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.