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

Logout on browser reload #3963

Open
pnbecker opened this issue Feb 6, 2025 · 1 comment
Open

Logout on browser reload #3963

pnbecker opened this issue Feb 6, 2025 · 1 comment
Labels
affects: main Issue impacts "main" (latest release). authentication: general general authentication issues authentication: password related to built in password authentication backend: Docker related to DSpace deployment via Docker bug help wanted Needs a volunteer to claim to move forward high priority
Milestone

Comments

@pnbecker
Copy link
Member

pnbecker commented Feb 6, 2025

Describe the bug

When I build DSpace from the current main branch (as of Feb. 6th, 2025: backend: f4bac3781e ; frontend: 8184acc) using the Dockerfiles and docker-compose files from the community, create an account, login via the webui and reload my browser, I'm being logged out.

To Reproduce

Steps to reproduce the behavior:

  1. clone the git repositories for backend and frontend.
  2. Run docker compose -p foo -f docker/docker-compose.yml build --pull --no-cache in the frontend source directory
  3. Run docker compose -p foo -f docker-compose.yml build --pull --no-cache in the backend source directory
  4. Start DSpace in the backend source repository: docker compose -p foo -f docker-compose.yml -f dspace/src/main/docker-compose/docker-compose-angular.yml up -d
  5. Start a shell in the backend container: docker compose -p foo -f docker-compose.yml -f dspace/src/main/docker-compose/docker-compose-angular.yml exec dspace /bin/bash and call /dspace/bin/dspace create-administrator to create an account
  6. open your browser and go to http://localhost:4000
  7. login with the freshly created account
  8. acknowldege the enduser agreement
  9. Hard reload in your browser (ctrl+R or reload button)
  10. see that the navbar is gone and the button to open the dropdown to login is shown.

Expected behavior

When I login into dspace and reload in the browser, I should still be logged in.

@pnbecker pnbecker added bug needs triage New issue needs triage and/or scheduling labels Feb 6, 2025
@github-project-automation github-project-automation bot moved this to 📋 To Do in DSpace 9.0 Release Feb 6, 2025
@github-project-automation github-project-automation bot moved this to 🆕 Triage in DSpace Backlog Feb 6, 2025
@pnbecker pnbecker added this to the 9.0 milestone Feb 6, 2025
@pnbecker pnbecker added authentication: general general authentication issues authentication: password related to built in password authentication backend: Docker related to DSpace deployment via Docker affects: main Issue impacts "main" (latest release). labels Feb 6, 2025
@pnbecker
Copy link
Member Author

pnbecker commented Feb 6, 2025

@tdonohue @atarix83 @kshepherd I'm able to reproduce the logout issue with the communities compose and dockerfiles. I use a Mac with Apple Silicon on macOS 14.6.1, Docker Desktop 27.4.0.

@tdonohue tdonohue removed this from DSpace Backlog Feb 6, 2025
@tdonohue tdonohue added help wanted Needs a volunteer to claim to move forward high priority and removed needs triage New issue needs triage and/or scheduling labels Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: main Issue impacts "main" (latest release). authentication: general general authentication issues authentication: password related to built in password authentication backend: Docker related to DSpace deployment via Docker bug help wanted Needs a volunteer to claim to move forward high priority
Projects
Status: 📋 To Do
Development

No branches or pull requests

2 participants