Skip to content
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

Migrate Django Admin to New Domain #2914

Closed
erichfi opened this issue Sep 25, 2024 · 2 comments · Fixed by passportxyz/passport-scorer#695
Closed

Migrate Django Admin to New Domain #2914

erichfi opened this issue Sep 25, 2024 · 2 comments · Fixed by passportxyz/passport-scorer#695
Assignees

Comments

@erichfi
Copy link
Contributor

erichfi commented Sep 25, 2024

User Story:

As an internal team member,
I want the Django Admin interface to be accessible on the new domain (api.scorer.passport.xyz/admin),
So that I can ensure consistency with our updated domain strategy and streamline administrative processes.

Acceptance Criteria

GIVEN the Django Admin interface needs to be migrated,
WHEN I navigate to scorer.gitcoin.co/admin,
THEN I should be redirected to api.scorer.passport.xyz/admin.

GIVEN team members need access to Django Admin,
WHEN I attempt to sign in using my Google email,
THEN I should be able to authenticate successfully on the new domain.

Product & Design Links:

Tech Details:

  • Update DNS to point api.scorer.passport.xyz to the new Django Admin interface.
  • Configure Django settings to accept the new domain.
  • Ensure SSL/TLS certificates are updated for secure access.
  • Implement redirect from scorer.gitcoin.co/admin to api.scorer.passport.xyz/admin.
  • Ensure Google OAuth configurations are updated for the new domain.

Open Questions:

N/A

Notes/Assumptions:

  • Migration should not affect other services running on scorer.gitcoin.co.
  • Internal team members' access should remain uninterrupted during the migration process.
@erichfi erichfi moved this to Prioritized in Passport New Sep 25, 2024
@nutrina
Copy link
Collaborator

nutrina commented Sep 30, 2024

  • we need to keep the gitcoin.co domain for the API & admin
  • for the new domain we need this domain:
    • api.passport.xyz -> ALB dns name
  • updates:
    • ALLOWED_HOSTS in the django settings
  • update the env variables in the IAM that point to the django API for the IAM running on passportxyz
  • updates the api URL in the UI for the scorer for the apps that are deployed on amplify and running on passportxyz
  • duplicate the monitors in uptime robot to check for both domains

@erichfi I would re-point this issue due to the new updated details above

@nutrina
Copy link
Collaborator

nutrina commented Oct 17, 2024

Open points:

  • apps running on xyz domain should use band running on xyz domain:
    • scorer
    • passport
    • staking

@erichfi erichfi moved this from Ready to Deploy to Done in Passport New Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants