-
-
Notifications
You must be signed in to change notification settings - Fork 383
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
Return user information in auth.pl if sent with a specific parameter (eg. ?info=json) #9910
Comments
What's the timeframe? We want to move a lot of this data to Keycloak (#1596), so that it could be available as user claims. If we add it to |
@hangy it's fairly urgent… for example NutriPatrol needs it to be deployed (only moderators should access moderation images). It's only for internal tools (that use the cookie), so:
|
If it's blocking, you still have the option of hard coding a list of username as nutripatrol moderator |
I'm adding it. |
In fact we currently do return the email now (try https://world.openfoodfacts.org/cgi/auth.pl?body=1 ) |
* fix: add some user info in /cgi/auth.pl body #9910 * removing email
* fix: add some user info in /cgi/auth.pl body openfoodfacts#9910 * removing email
* fix: add some user info in /cgi/auth.pl body #9910 * removing email
We need to know some information like:
for services like open-prices / nutripatrol / hungergames
It should be quite easy to add this functionality to auth.pl so that if there is a ?info=json parameter, we would return a json with useful information (maybe avoid revealing email for now)
The text was updated successfully, but these errors were encountered: