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

401 Unauthorized request after updating a page in a new route #235

Open
relizondobarrios opened this issue Nov 4, 2020 · 1 comment
Open
Labels
bug needs triage The issue should be triaged.

Comments

@relizondobarrios
Copy link

This issue can be reproduced using one of the AdminApp samples: add-custom-commands -> Print preview

  1. Create a command and register a new path (example: 'print preview').
  2. When user enters to this new route the custom component calls a Sitefinity Web Service to display information

This scenario works as expected when the user is in the grid view, clicks on the dots, clicks on Print preview option, navigates to the new path and views the information. But if the user is in the new path, he types F5 (keyboard) or updates the browser, the next time the Sitefinity Web Service is called the request responds with: 401 Unauthorized

image

I reviewed both requests and noticed a difference: the unauthorized request has the authorization property (in the request header) as empty

@relizondobarrios relizondobarrios changed the title 401 Unauthorized request after refresh a page into a new route registration 401 Unauthorized request after updating a page in a new route Nov 4, 2020
@Novkirishki
Copy link
Contributor

Hi @relizondobarrios ,

Thank you for reporting this issue. I was able to reproduce it and will log it as a bug.

Regards

@Novkirishki Novkirishki added the bug label Dec 1, 2020
@belchevgb belchevgb added the needs triage The issue should be triaged. label Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs triage The issue should be triaged.
Projects
None yet
Development

No branches or pull requests

3 participants