Update error message handling for OIDC#21297
Update error message handling for OIDC#21297ahmedhamidawan merged 4 commits intogalaxyproject:devfrom
Conversation
|
Hi @nuwang @bgruening, can you help with getting this UX improvement in? Kind Regards, |
nuwang
left a comment
There was a problem hiding this comment.
Server side changes look ok to me, thanks @uwwint. Have left some minor comments. @ahmedhamidawan Would you be able to review front-end changes please?
Thank you @nuwang and @uwwint , I can run this locally and test out several use cases. It might take me towards the end of the week because of the Galaxy Team Meeting right now. |
Co-authored-by: Nuwan Goonasekera <2070605+nuwang@users.noreply.github.com>
lint whitespace
9feed6c to
3477af1
Compare
ahmedhamidawan
left a comment
There was a problem hiding this comment.
Client changes look good to me!
@uwwint please run the following commands to lint the backend before you commit your changes:
% make format && tox -e lint && tox -e mypyAnd the following for client side changes:
% cd client && yarn run prettier --check
% cd client && yarn run eslint|
@ahmedhamidawan will do next time - I understand that this has already been run on this branch, correct? I created fast pre-commit hooks in this branch of my own: https://github.com/uwwint/galaxy/tree/feature/pre-commit not sure this is something the project would like. But if they do, I am happy to PR it. |
|
@uwwint Yes, these changes are linted now |
|
Existing pre-commit hooks are here: https://github.com/galaxyproject/galaxy/blob/dev/.pre-commit-config.yaml.sample |
Change OIDC error handling. In case error_description is provided to the callback render that message to the user instead of the default text in Galaxy. Also update the UI to kick the user back to the login screen with the usual error handling
How to test the changes?
(Select all options that apply)
License