-
-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lite version of session.pl #1882
Comments
You could already use /cgi/sso.pl for that. As the calling user agent, you have the user's cookie and it to verify the session is still OK. For example, with the Alternatively, wait for #1714. |
This is for the ios and android app, they have the user login and password, it's to verify it the first time. |
I understand that, but IMHO we should focus on a token based authentication for apps instead of trying to patch the current way. 🤷♂ Just have them POST login data to |
That approach sounds good to me. :) |
https://world.openfoodfacts.org/cgi/sso.pl returns null for me |
@VaiTon relevant for your ongoing work |
@hangy what about mobile native sign-up process? |
I believe the new #7465 solves this |
On android we used /cgi/session.pl to check the user login info. This call returns a html document that is parsed to "guess" the status.
Can we add an option to send back a much smaller payload, possibly JSON.
/cgi/session.pl?json=true
?
The text was updated successfully, but these errors were encountered: