Switch from Azure AD to Entra ID #845
Open
+125
−67
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.
What does this PR do and why?
_Describe in detail what your merge request does and why.
Fixes #840
Azure AD is being deprecated in favour of Entra ID. They function identically but with a different name.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other pull requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
./scripts/clean_dev.sh
config/authentication/auth_config.yml
to addentra_id
todevelopment:
->omniauth_providers:
EDITOR="vim --nofork" bin/rails credentials:edit --environment development
Add the following fields. Message me directly for the secret credentials.
Testing the Migration
main
branch, clean your db with./scripts/clean_dev.sh
auth_config.yml
to haveomniauth_providers: [azure_activedirectory_v2]
fordevelopment:
azure:
azure_activedirectory_v2
provider on your profileoauth_entra_id
branchrails info db:migrate
PR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.