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

In project with keycloak, authentication is lost after second request when restarting the backend server #17420

Closed
1 task done
spotlesscoder opened this issue Dec 26, 2021 · 3 comments

Comments

@spotlesscoder
Copy link
Contributor

Overview of the issue

I generated the project, starte the keycloak container and database server, ran the web UI and copied the cookie for authentication into my postman.
Then I ran the GET request on my entity which worked.
Then I stopped the server and started it again.
Then I ran the GET request in postman once more and it succeeded.
Then I ran it a third time and it gave me a 401 error.

Reproduce the error
JHipster Version(s)
JHipster configuration
Entity configuration(s) entityName.json files generated in the .jhipster directory
Browsers and Operating System

Elementary OS 6.1

  • Checking this box is mandatory (this is just to show you read everything)
@pascalgrimaud
Copy link
Member

@CodingSpiderFox : I encounter a similar but not exactly the same issue. Can you try this fix plz ? #17396

@spotlesscoder
Copy link
Contributor Author

I think it is a different cause

Copy link
Contributor

This issue is stale because it has been open for too long without any activity.
Due to the moving nature of jhipster generated application, bugs can become invalid.
If this issue still applies please comment otherwise it will be closed in 7 days

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 2, 2023
@deepu105 deepu105 added this to the 8.1.0 milestone Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants