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

[BUG] MainLayout will still be shown even user was not login #208

Open
zergmk2 opened this issue May 23, 2024 · 1 comment
Open

[BUG] MainLayout will still be shown even user was not login #208

zergmk2 opened this issue May 23, 2024 · 1 comment

Comments

@zergmk2
Copy link
Contributor

zergmk2 commented May 23, 2024

Description

After running the Elsa.Studio.Host.Server project, i found that the mainlayout page will be shown event i haven't logged in.

Steps to Reproduce

  • run the Elsa.Studio.Host.Server project by executing below command
dotnet run --framework net8.0 --project src/hosts/Elsa.Studio.Host.Server/Elsa.Studio.Host.Server.csproj

Reproduction Rate: Indicate how often the bug occurs when following these steps (e.g., "every time", "intermittently: about 50% of the time").
100%

  1. Video/Screenshots: Sometimes, complex behaviors are better shown than described. If you think a video or screenshots would help clarify the issue, please include them.
Screen.Recording.2024-05-23.at.22.23.07.mov
Copy link

glime-ai bot commented May 23, 2024

Based on the information provided, it seems that you are experiencing an issue where the main layout page of the Elsa.Studio.Host.Server project is displayed even without logging in. This behavior is not expected as there should be an authentication check before displaying the main layout.

To address this issue, you should ensure that the authentication mechanism is properly configured and that the middleware for authentication is correctly set up in the Program.cs or Startup.cs file of your project. You should also check if there are any conditional statements that bypass the authentication check in development mode or any other configuration that might be causing this behavior.

If you are unable to resolve the issue, you may want to report this as a bug on the Elsa GitHub repository by creating an issue with the details of the problem, steps to reproduce, and any relevant screenshots or videos. The maintainers of the project or other contributors can then assist you in resolving the issue.

Since you mentioned that the issue occurs 100% of the time when following the steps provided, it is likely a configuration issue or a bug in the codebase that needs to be addressed.

Please ensure that you are using the correct version of the .NET framework and that all dependencies are up to date. If the problem persists, consider reaching out to the Elsa community or support for further assistance.

This comment was generated by Glime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage
Development

No branches or pull requests

1 participant