We have installed and configured RedHat APIMan for our working API and the plan is migration form current home-grown tiny gateway to APIMan. The problem is that we have some unprotected endpoints which do not need login (Not everyone role! No login required at all). We are using Keycloak OAuth plugin for roles, and Authorization Policy for API security. When Authorization policy is not added, I can allow unauthenticated requests via a boolean value in Keycloak OAuth policy, but after adding Authorization policy, there is no way to let unauthenticated requests pass!
How to configure RedHat APIMan Authorization Policy for unprotected endpoints?
198 Views Asked by Kamyar At
1
There are 1 best solutions below
Related Questions in REDHAT
- Mono installation on RedHat 5.11 (Tikanga)
- Premature end of script on VPS
- RPM spec files with rpmbuild can have errors
- No ruby-devel in RHEL7?
- 403 Forbidden and 13 Permission Denied
- gatling stress testing on AWS, threads staying in active
- QGIS 2.4 compilation error on Redhat 6.2
- Hadoop 2.6.0 Namenode stuck in safemode and won't leave it
- Maria DB (mysql) installation on Red Hat . How do I start service after installation
- nginx passenger - issues setting environment to staging
- Would it be a RedHat permission issue for a executable jar to get an SSLHandshakeException between servers?
- RedHat4/Docker on Centos 7. Can't reach internet from Docker Instance
- Exit perl script automatically every 2 hours
- How to install WebSphere MQ resource adapter (wmq.jmsra.rar) in JBoss 6.2 EAP?
- VI editor - saving filename in :wq
Related Questions in API-GATEWAY
- AWS API Gateway - AWS Service Integration - Execution Role Inheritance
- Is there a difference between API gateway pattern and BFF?
- How to get OAuth 2.0 right for consuming external APIs in my Custom API .net core
- Merging data on api gateway level or microservice level?
- Can client-side call frontend microservices bypassing API gateway?
- How to use AWS API Gateway generated SDK with Android Volley
- JWT authentication using cookies with KONG API Gateway
- What if there are 'N' numbers of microservices then do we have to configure them all manually in Zuul Api Gateway?
- How can I reproduce what the UI does when enabling CORS in the API Gateway using the AWS CLI
- How to set integration endpoint dynamically based on request header in AWS API Gateway?
- How to configure bearer-only = true when Using spring-boot-starter-oauth2-client
- Application type users authenticating to GCP
- Nginx plus as load balancer for AWS ECS Fargate Instances
- Run Kong in Docker, Kong does not show GUI in web browser
- Passing userId from angular using cognito user pool to aws lambda
Related Questions in IBM-API-MANAGEMENT
- Apim configuration on bluemix
- Is it possible to use the subscription-key query string parameter with Azure API Management SOAP-passthrough?
- Signed in/Logged in Information of the user in Azure APIm Developer Portal
- Keycloak realm login using postman
- Brute Force in WSO2 carbon
- Record and Persist API call details in KrakenD for API monetization
- Update Azure APIM Name (Api.Id) after cloning using Azure Portal?
- What is the default timeout set in forward-request
- Azure API Management logs request and response bodies
- Azure API management configuring external caching policy
- WSO2 api manager - API State Change workflow - ERROR - neither in same process nor in parent process errorCode='REST_CLIENT_INVOKE_ERROR')
- Issue with service fabric resource manager file deployment (apim.json and apim.parameters)
- Azure API Developer portal - Okta Integration
- Restricting Google Cloud Endpoints with API key
- Querying Azure APIM Diagnostic Logs
Related Questions in APIMAN
- How to avoid chunked encoding when the rest api is passing through APIMan?
- How to configure CORS in APIMan
- Bypass keycloak login system with rest api using java and generate realm/application URL
- Can I install apiman 1.0.0.Beta1 on WildFly 8.2
- Changing the default Context of the Apiman Target Gateway URL
- How to overwrite apiman.gateway-endpoint default property values in Apiman (1.3.1.Final)
- Authorization policy is breaking preflight check in APIMAN
- Having maven inside docker along with wildfly server
- Not able to change the End point URL in APIMan to public IP
- Apiman 2.0.0 security vulnerabilities
- How to configure RedHat APIMan Authorization Policy for unprotected endpoints?
- Apiman: I can not set policy configuration with admin-cli
- Chaining Docker Images and execute in order
- Getting error on calling APIs of APIMAN
- WildFly-10 - APIMAN Publish Issue
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?




Kamyar. Apiman developer here.
Please file a feature request for this over at https://github.com/apiman/apiman/issues.
I think what you are trying to do may not currently be possible easily because the authentication policy is expecting a successful auth of some sort before it is hit (to get the roles, etc).
We probably need a slightly more detailed explanation of your use-case, and then we can figure out whether we can support it. It seems like it should be doable without major changes if I understand correctly.
If and when we add support for the specifics of your requirement, I will endeavour to update this ticket.