orchestrator-core
orchestrator-core copied to clipboard
[Bug]: The orchestrator only responds with `Not Authorized` in the graphql response when handling an invalid access token
Contact Details
No response
What happened?
Please introduce code to distinguish between not authenticated and not authorized to improve the error handling in the frontend applications.
Version
2.2.0
What python version are you seeing the problem on?
All
Relevant log output
No response
I suggest to use not_authenticated as an error type.
Add this to the errorhandlerextension in nwa-stdlib, and then this PR should be updated to actually use it in orchestrator-core https://github.com/workfloworchestrator/orchestrator-core/pull/500
fixed
Where/how was this fixed?