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
Description:
We are getting HTTP 403 error when I send a request with opaque token. It is a problem when I set spring.cloud.dataflow.task.useuseraccesstoken=true, CTR task use user token and send about request to dataflow server.
DataFlowTemplate.java - line 170
this.aboutOperations = new AboutTemplate(restTemplate, resourceSupport.getLink(AboutTemplate.ABOUT_REL).get());
Send about request to dataflow using opaque token that obtained in step 2
curl --location --request GET 'http://localhost:8080/about' \
--header 'Authorization: Bearer opaque_token'
Got HTTP 403 error response because dataflow doesn't map groups and roles attributes in CustomAuthoritiesOpaqueTokenIntrospector.
Bearer error="insufficient_scope", error_description="The request requires higher privileges than provided by the access token.", error_uri="https://tools.ietf.org/html/rfc6750#section-3.1"
Screenshots:
Where applicable, add screenshots to help explain your problem.
Additional context:
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Description:
We are getting HTTP 403 error when I send a request with opaque token. It is a problem when I set
spring.cloud.dataflow.task.useuseraccesstoken=true
, CTR task use user token and send about request to dataflow server.DataFlowTemplate.java - line 170
Release versions:
2.11.4
Steps to reproduce:
Screenshots:
Where applicable, add screenshots to help explain your problem.
Additional context:
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: