When I visit to jhipster websit pre-login, it always displays error message (User could not be found). In jhipster project, where to setup anonymous user for pre-login?
Jhipster cannot use anonymous user before login
383 Views Asked by Eric Cheng At
1
There are 1 best solutions below
Related Questions in SPRING-BOOT
- Timing Issue with Spring Boot Annotation Configuration
- LightAdmin - Customise parsing DateTime with app timezone
- Creating distribution with repackaged spring boot jar using gradle application plugin
- Spring Boot MVC non-role based security
- Add JVM args to spring boot application
- The method and() is undefined for the type HttpSecurity
- swagger ui not working for swagger version 2
- Spring IO Platform 2.0 - Themes/Changes?
- JPA findDistinctPropertyBy magic method doesn't work as expected when using spring-boot-starter-jpa
- Spring boot check external service status on boot
- Running a specific spring batch job amongst several jobs contained withing a spring boot fat jar
- Adding security to rest api service built with Spring Boot app
- Spring Redirecting from Http to Https Breaks Rest Controller Test
- Service not starting using Spring-boot during integration tests
- Spring Boot Actuator Health Returning DOWN
Related Questions in SPRING-SECURITY
- AndroidAnnotations how to use setBearerAuth
- Show login dialog when not authenticated yet
- LDAP user attributes from CAS
- Spring security /j_spring_security_login 404 error
- Use thymeleaf template for some pages and rest for some for building gradle project
- Spring MVC + Tiles + Spring Security = The requested resource is not available
- The type javax.servlet.ServletContext and javax.servlet.ServletException cannot be resolved
- Intercepting springsecurity behavior in grails
- Basic Auth to Receive Token in Spring Security
- Spring LDAP Context.REFERRAL to follow
- Fail to locate j_spring_security_check in Spring Security
- Accessing resource with expired bearer token fails with 500 http code
- Spring security not authenticate the user
- Remove "Using default security password" on Spring Boot
- Is a SecurityContext shared between requests when using Spring Security?
Related Questions in JHIPSTER
- Importing jHipster projects into intellij
- What is the best and fastest way to clean-up traces of JHipster?
- Failed to decode downloaded font on Heroku
- How JHipster rename resources files
- JHipster: REST URL mapping for Account
- Deploying a JHipster/MongoDB application to Heroku
- Integrate new menu for admin
- ElasticSearch nested object query
- JHipster MailService - javax.mail.SendFailedException: No recipient addresses
- How to use Textangular with Jhipster
- Error when create jhipster sample 21-points application
- Generate Value Object (Not Entity) with JDL studio
- JHipster configure maven wrapper proxy
- Getting error while running "yo jhipster-ionic"
- Use api in Jhipster from Angularjs
Related Questions in ANONYMOUS-USERS
- 'AnonymousUser' object is not iterable - accessing to views by anonymous and authenticateds users
- Spring Security 3.1 and returning anonymous UserDetails
- Allow unauthenticated access while keeping IIS Windows authentication and occasional impersonation
- In Rails 3 app, how do I allow anonymous users to access a controller action only once?
- Considerations for anonymous users
- Azure B2C AD regarding anonymous users
- Different type of anonymous users with Django
- How to get aspnet_Users.UserId for an anonymous user in ASP.NET membership?
- SharePoint anonymous access does not work on DispForm.aspx within list
- Caching for anonymous users in django
- Django rest framework Anonymous user is always Authenticated
- Parse + Swift + Anonymous
- Firebase - convert anonymous user to logged in user?
- Jhipster cannot use anonymous user before login
- Keeping track of non registered user in a django website
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I also have this issue, the backend logs and the browser console fills up with errors of type
Whenever user browses the application before logging in. Probably because of this code in app.tsx:
This means it tries to run the effect on load and each time AppProps change, no matter what route the user is trying to visit, even the ones that should be open without login.
I would look into moving this effect into some part of the code that only runs for login-only routes.