Closed TjerkNan closed 1 month ago
@TjerkNan The participant is an anonymous user that is technically signed in. This is by design.
You can log out the participant by going to /user/profile
.
Does this help?
@mellelieuwes yes that workaround works indeed. So should the solution be that we instruct/document this behaviour?
@TjerkNan profile/logout is a hidden participant feature to not distract the participant. The participant does not need to logout.
So it is only needed when a creator tests the (anonymous) participant flow and want to go back to the creator account on the same browser.
Sometimes clients have this issue when testing the flow.
Do you have a suggestion where to document it? Or change the UX so it can be prevented?
@TjerkNan I have fixed this issue by remove the user from the session when:
/assignment/<number>
considered is a valid request path. This means If you now click on the top left Next logo (opens home page) or manually go to for example /project
or/user/signin
the anonymous participant is signed out out first.
After donating as anonymous, the sign-in page is visible again after clicking on next logo. As a participant being logged in it works too, but I will be logged out, seems OK to me.
Describe the bug After you particpate in a data donation flow, you are unable to access the Sign in button on the top right. When you access the actual url /user/sigin 'nothing happens'.
Closing the browser application or using a private window circumvents this issue.
To Reproduce Steps to reproduce the behavior:
Expected behavior Sign in always works.
Screenshots
Smartphone (please complete the following information): All Browsers