Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LIMS-1125: Prompt user login on shipping service 401 status #694

Merged

Conversation

MattPrit
Copy link
Contributor

JIRA ticket: LIMS-1125

Summary:

If the shipping service returns a 401 when a user attempts to book an incoming shipment (due to an expired token), prompt the user to log in again.

Changes:

  • Return errors received from the shipping service to the frontend when trying to book an incoming shipment.

To test:

  • Check that shipping service error statuses and content details are returned to the client from the backend. In particular, check that a 401 error code results in the user being prompted to log in again.

@MattPrit MattPrit requested a review from gfrn November 22, 2023 13:00
@MattPrit MattPrit self-assigned this Nov 22, 2023
@NKatti2011 NKatti2011 merged commit d1535b8 into prerelease Nov 23, 2023
2 checks passed
@ndg63276 ndg63276 deleted the fix/lims-1125/login-redirect-on-shipping-auth-failure branch December 5, 2023 09:01
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.

3 participants