Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Deploy for Open Pet Food Facts and test #89

Open
5 tasks
john-gom opened this issue Sep 25, 2024 · 0 comments
Open
5 tasks

Deploy for Open Pet Food Facts and test #89

john-gom opened this issue Sep 25, 2024 · 0 comments
Labels
🐾 Open Pet Food Facts Our pet food analysis project https://world.openpetfoodfacts.org

Comments

@john-gom
Copy link
Collaborator

john-gom commented Sep 25, 2024

Steps to configure:

  • Create a Keycloak (openfoodfacts-auth) deployment. Need to configure:
    • SMTP
    • KEYCLOAK_ADMIN
    • KEYCLOAK_ADMIN_PASSWORD
    • KEYCLOAK_BASE_URL
    • KEYCLOAK_REALM_NAME
    • REDIS_URL
  • Configure nginx host details
  • Set up environment variables
    • KEYCLOAK_BASE_URL
    • KEYCLOAK_BACKCHANNEL_BASE_URL
    • KEYCLOAK_REALM_NAME
    • PRODUCT_OPENER_OIDC_CLIENT_ID
    • PRODUCT_OPENER_OIDC_CLIENT_SECRET
    • PRODUCT_OPENER_OIDC_DISCOVERY_ENDPOINT
  • Deploy PO keycloak branch (https://github.com/openfoodfacts/openfoodfacts-server/tree/keycloak)
  • Migrate user data

Workflows to test:

  • Existing user log in (web and mobile)
  • See what happens if existing user tries to use another app
  • Calling APIs
  • New user sign-up (web and mobile)
  • Verify welcome email is sent (on registration for mobile, on email verification for web)
  • See what happens if new user tries to use another app
  • Password reset (web and mobile)
  • Edit preferences (web and mobile)
@john-gom john-gom converted this from a draft issue Sep 25, 2024
@teolemon teolemon added the 🐾 Open Pet Food Facts Our pet food analysis project https://world.openpetfoodfacts.org label Sep 25, 2024
@john-gom john-gom moved this from First release to In progress in Revamping auth across Open Food Facts Nov 27, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🐾 Open Pet Food Facts Our pet food analysis project https://world.openpetfoodfacts.org
Projects
Status: In progress
Development

No branches or pull requests

2 participants