Skip to content

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

Merged
NKatti2011 merged 1 commit intoprereleasefrom
fix/lims-1125/login-redirect-on-shipping-auth-failure
Nov 23, 2023
Merged

LIMS-1125: Prompt user login on shipping service 401 status#694
NKatti2011 merged 1 commit intoprereleasefrom
fix/lims-1125/login-redirect-on-shipping-auth-failure

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
@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