-
-
Notifications
You must be signed in to change notification settings - Fork 400
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
Pass the cookie to /cgi/auth.pl
#10140
Comments
I don't understand. Both URLs call |
The only difference is about the response received. |
More generally, this cookie issue is problematic for Smoothie as there are other actions that cannot be performed without cookie. |
Does it have to be done from the app? When moving to Keycloak, we'd probably have to limit that to specific scopes to avoid abuse by other people's apps. I'd rather prefer user deletion to be done from Keycloak in most cases. cc @john-gom
See #9251 for our progress of OIDC auth (with the help of Keycloak) |
Hi everyone,
Let me explain the issue first.
In the mobile app, we need to call the API to GET the knowledge panels for a product (eg:
https://world.openfoodfacts.org/api/v3/product/3017620422003?fields=knowledge_panels
)But more specifically, we want the other than the cookie of the response.
It appears that the only way to get this version is to pass a cookie in the headers.
However, the mobile app uses the
/cgi/auth.pl
route and in this route (contrary to/cgi/login.pl
) the cookie is never passed.So here, we have two solutions:
/cgi/auth.pl
The text was updated successfully, but these errors were encountered: