Skip to content

Conversation

@fjtirado
Copy link
Collaborator

@fjtirado fjtirado commented Oct 31, 2025

Fix #930

This also fixed following things:

  • Secret should be a map, not a string
  • Expression exception should be a workflow exception of the proper type as per spec, not an IllegalArgument one
  • The AdditionaObject factory should accept WorkflowContextData and TaskContextData, so it has not access to internals exposed by their parent interfaces.

@fjtirado fjtirado force-pushed the Fix_#930 branch 6 times, most recently from 42ad553 to d37cef9 Compare November 3, 2025 13:36
@fjtirado fjtirado marked this pull request as ready for review November 3, 2025 13:36
@fjtirado fjtirado marked this pull request as draft November 3, 2025 14:24
@fjtirado fjtirado force-pushed the Fix_#930 branch 2 times, most recently from 5d12db0 to 1304a3a Compare November 3, 2025 15:58
@fjtirado fjtirado marked this pull request as ready for review November 3, 2025 15:59
Signed-off-by: fjtirado <ftirados@redhat.com>
Copy link
Member

@ricardozanini ricardozanini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, do we already have tests for OAuth2? I see you added for Basic only.

@fjtirado
Copy link
Collaborator Author

fjtirado commented Nov 3, 2025

Also, do we already have tests for OAuth2? I see you added for Basic only.

There are test for Oauth and OpenId already
Secret for Oauth and OpenId will be added with #952

@ricardozanini ricardozanini merged commit c9c41eb into serverlessworkflow:main Nov 3, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement authorization runtime expression

2 participants