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

HOFF 591 Added 401 error page for Unauthorised #441

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TemitopeAyokuHO
Copy link

What

HOFF-591- HTTP Error 401 (UnAuthorised) Error Page

Why

To display an Unauthorised error page to users, which follows the Government Design Standard (GDS)

How

  • Added html content in 401.html page to display 401 Unauthorised error message
  • Added 401 text in errors.json file.
  • Modify the previous status code assigned to 401 which was used for session timeout replaced with 408 status code

Testing

  • Wrote unit test to unsure error page pass.

- Added html content in 401.html page to display 401 Unauthorised error message
- Added 401 text in errors.json file.
- Wrote unit test to ensure unauthorised error page pass.
- Modify the previous status code assigned to 401 which was used for session timeout replaced with 408 status code
@TemitopeAyokuHO TemitopeAyokuHO force-pushed the HOFF-591-HTTP-401-unauthorised-error-page branch from a3f4412 to 1b3313a Compare April 2, 2024 10:01
@UKHomeOfficeForms UKHomeOfficeForms deleted a comment from serviceops Apr 2, 2024
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.

1 participant