-
Notifications
You must be signed in to change notification settings - Fork 535
Logout on browser reload (dsAuthInfo cookie is lost) #3963
Copy link
Copy link
Labels
affects: mainIssue impacts "main" (latest release).Issue impacts "main" (latest release).authentication: generalgeneral authentication issuesgeneral authentication issuesauthentication: passwordrelated to built in password authenticationrelated to built in password authenticationbugclaimed: AtmireAtmire team is working on this issue & will contribute backAtmire team is working on this issue & will contribute backhigh priority
Milestone
Metadata
Metadata
Assignees
Labels
affects: mainIssue impacts "main" (latest release).Issue impacts "main" (latest release).authentication: generalgeneral authentication issuesgeneral authentication issuesauthentication: passwordrelated to built in password authenticationrelated to built in password authenticationbugclaimed: AtmireAtmire team is working on this issue & will contribute backAtmire team is working on this issue & will contribute backhigh priority
Describe the bug
When I build DSpace from the current main branch (as of Feb. 6th, 2025: backend: f4bac37 ; 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:
docker compose -p foo -f docker/docker-compose.yml build --pull --no-cachein the frontend source directorydocker compose -p foo -f docker-compose.yml build --pull --no-cachein the backend source directorydocker compose -p foo -f docker-compose.yml -f dspace/src/main/docker-compose/docker-compose-angular.yml up -ddocker compose -p foo -f docker-compose.yml -f dspace/src/main/docker-compose/docker-compose-angular.yml exec dspace /bin/bashand call/dspace/bin/dspace create-administratorto create an accountExpected behavior
When I login into dspace and reload in the browser, I should still be logged in.