Allow users to authenticate with Azure in order to capture their Justice email address #1280
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📝 Summary
This PR contributes to ministryofjustice/analytical-platform#3605
This PR implements a new page that allows a user to authenticate with Azure/EntraID using their @justice.gov.uk email address. This is intended as a one time process, in order to capture their justice email address.
After login, users are redirected to the page where it explains the purpose of authenticating. There is a button to skip the process, which allows users to continue as normal. The next time they log in they will be redirected to the new page again. I have set an arbritary deadline of 30th April, but this is a WIP and has no real effect.
The changes in this PR are needed as part of our wider work around offering Quicksight to AP users via the new AP UI.
🔍 What should the reviewer concentrate on?
🧑💻 How should the reviewer test these changes?
NOTE: Ideally you should log out of your Justice identity (e.g. outlook) first. By doing this you will see the full flow. If you complete the following steps while already logged in, it will still work and you will capture your @justice.gov.uk email but you wont go through the full steps of logging in with your Justice email.
📚 Documentation status