We are implementing microservices with JHipster and we have a scenario where we need a specific resource in one of our microservices to be available via Gateway without the need for authorization/authentication. What sort of configuration should be done in the microservice app or gateway in order to achieve such behavior?
How to bypass authentication/authorization on a resource using JHipster microservice + gateway?
665 Views Asked by Alex Guerreiro At
1
There are 1 best solutions below
Related Questions in JHIPSTER
- Jhipster displaying mismatch data
- How To Rename An Enity?
- Blueprint migration problems to JHipster 8
- Jhipster monolith with Vue and Keycloak - Spring session timeout does not logout web ui
- Account creation errors with Jhipster after altering user service class
- JHipster Application Defaults to LTR Instead of RTL for Arabic Language
- How do I merge the user account entity and account provided by jhipster?
- Angular PrimeNg p-calendar in a JHipster project
- Problem with running angular test with jhipster
- How to secure jhipster-registry and how to aggregate api-docs inside of jhipster apigateway when profile prod is active
- How to authenticate requests by COOKIE in JHipster v8.1.0
- JHipster blueprint context
- How to interact with JHipster context in blueprints
- Refactor multiple ifs in create specification
- JHipster 8.1.0 with Oracle fails IT
Related Questions in JHIPSTER-GATEWAY
- UnsatisfiedDependencyException: Error creating bean with name 'securityConfiguration'
- jHipster 8: Can I use jhipster microservices with session based authentication. I want one login per user across ip and sessions
- Trouble with JHipster's Improved Remember-Me Mechanism
- OAuth2 redirection issue with JHipster Gateway and Keycloak
- jHipster Release 8.0.0-rc.1: Unable to run gateway app
- Is web.xml needed in a Jhipster generated reactive spring-boot gateway application?
- Separation of micro frontend runtimes in JHipster
- Failed to connect to database while docker compose keycloak v12.0.4
- Jhipster microservices: JWT authentication: 401 Unauthorized
- Can't access jhipster user-management when deployed to docker
- Add second webapp application in JHipster Gateway
- Can I generate the application according to a package structure that I have determined in Jhipster?
- I have an error while creating Jhipster Microservice app
- Can't resolve module JHipster Micro-frontend
- How to add new entities to frontend and backend?
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 # Hahtags
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?
You need to give access to the resource on that microservice, so the resource is accessible from the gateway without authentication. In you microservice, edit SecuritConfiguration exclude service from
.antMatchers("/api/**").authenticated()and add ,for example,.antMatchers("/api/service1").permitAll()line before that.