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
- 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 JHIPSTER-GATEWAY
- Jhipster, access denied from gateway to microservice, what have i misconfigured?
- jhipster with webflux - Swagger is not working
- How to configure jhipster application
- jHipster Release 8.0.0-rc.1: Unable to run gateway app
- OAuth2 redirection issue with JHipster Gateway and Keycloak
- Trouble with JHipster's Improved Remember-Me Mechanism
- jHipster 8: Can I use jhipster microservices with session based authentication. I want one login per user across ip and sessions
- Calling JHipster microservice in third party application
- The Jhipster generator keeps generate reactive projects and should not
- jHipster microservice Swagger-UI not available in registry / control center API tab
- No suitable default RequestUpgradeStrategy found in a new generated jhipster application
- Bean-Definition Overriding Exception while centralizing micro-services using JHipster-Registry(Cloud Config Server as central server)
- How to render bunch of XML files in JHipster React Application
- JHipster Microservice CORS
- 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 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.