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 from Designer redirects to a 404 gitea page (and user isn't logged out) #4624

Closed
jeevananthank opened this issue Aug 18, 2020 · 2 comments
Assignees
Labels
area/login Area: Related to logging into Altinn Studio. kind/bug Used when there is a defect / something is not working as it should. solution/studio/designer Issues related to the Altinn Studio Designer solution.
Milestone

Comments

@jeevananthank
Copy link
Contributor

jeevananthank commented Aug 18, 2020

Describe the bug

Logout from Designer redirects to a 404 gitea page and the user is not logged out.

To Reproduce

Steps to reproduce the behavior:

  1. Login to studio with any user
  2. Logout from Designer
  3. Redirected to 404 page not found gitea page (https://dev.altinn.studio/repos/user/logout) and user is not logged out.
  4. It is possible to navigate back to the dashboard.

Expected behavior

User should be logged out of studio

Screenshots

image

Additional info

Env; dev.altinn.studio and prod
Browser: Chrome 84

@jeevananthank jeevananthank added kind/bug Used when there is a defect / something is not working as it should. area/login Area: Related to logging into Altinn Studio. labels Aug 18, 2020
@lvbachmann lvbachmann changed the title Logout from studio redirects to a 404 gitea page Logout from studio redirects to a 404 gitea page (and user isn't logged out) Aug 24, 2020
@lvbachmann lvbachmann added this to the 2020-w34/35 milestone Aug 24, 2020
@altinnadmin
Copy link
Member

This seems to be caused by a change in Gitea 1.12, where the logout action has been changed from GET to POST.
go-gitea/gitea#10582

When logging out from Designer, GET is still used, so this needs to change.
If logging out from Repos it works fine.

@altinnadmin altinnadmin changed the title Logout from studio redirects to a 404 gitea page (and user isn't logged out) Logout from Designer redirects to a 404 gitea page (and user isn't logged out) Aug 24, 2020
@altinnadmin altinnadmin added the solution/studio/designer Issues related to the Altinn Studio Designer solution. label Aug 24, 2020
@SandGrainOne SandGrainOne self-assigned this Aug 25, 2020
@SandGrainOne SandGrainOne removed their assignment Aug 25, 2020
@jeevananthank jeevananthank self-assigned this Aug 26, 2020
@jeevananthank
Copy link
Contributor Author

tested the fix. closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/login Area: Related to logging into Altinn Studio. kind/bug Used when there is a defect / something is not working as it should. solution/studio/designer Issues related to the Altinn Studio Designer solution.
Projects
None yet
Development

No branches or pull requests

4 participants