You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building a native image lamba with Micronaut that is called via AWS API Gateway (APIG). Auth is handled by APIG so is not required on the apps controller. The app has a client that uses OAUTH2 client credentials to call a secured external API. I cannot find a way to disable endpoint security but enable the HTTP client filter for client credentials ClientCredentialsHttpClientFilter.
Expected Behaviour
The following config should disable the security requirement for controllers and enable OAUTH2 client credentials for the HTTP client.
Hello,
I'm also interested on this feature where the endpoints of your services are not secured because AWS or GCP already gives you the security layer. However, the HTTP clients in the service that are used to call other endpoints requires an access token provided by a 3 party.
I am building a native image lamba with Micronaut that is called via AWS API Gateway (APIG). Auth is handled by APIG so is not required on the apps controller. The app has a client that uses OAUTH2 client credentials to call a secured external API. I cannot find a way to disable endpoint security but enable the HTTP client filter for client credentials
ClientCredentialsHttpClientFilter
.Expected Behaviour
The following config should disable the security requirement for controllers and enable OAUTH2 client credentials for the HTTP client.
Actual Behaviour
No
ClientCredentialsHttpClientFilter
bean is created and theabc
client does not login to https://login.microsoftonline.com/myAccountID/oauth2/v2.0/token to get theBearer
token or add it to the client request.Environment Information
At the moment I am leaving security enabled and adding
@Secured(SecurityRule.IS_ANONYMOUS)
to the controller as a workaround.The text was updated successfully, but these errors were encountered: