ministryofjustice / data-catalogue

Data catalogue • This repository is defined and managed in Terraform
MIT License
3 stars 0 forks source link

Register Azure applications for DataHub #58

Open tom-webber opened 10 months ago

tom-webber commented 10 months ago

User Story

As an Azure AD (AAD) evangelist I need to register DataHub as an app in AAD So that users can Auth via AAD to log into DataHub

Proposal

Configuring Azure Authentication for React App (OIDC)

Register an app in the AAD portal.

There is already an app named as 'data-platform-datahub-development', so maybe name the new one 'data-platform-datahub-dev'?

May be worth checking with @julialawrence precisely which permissions are required for Datahub. It is not clear whether we need User.Read, or if we need User.Read.All or some combination of the permissions on the existing data-platform-datahub-development app.

This app will likely use client credential flow for login, whereby the DataHub instance stores the client secret.

Determine whether the frontend app we're creating will reuse this same auth flow (very likely), and if so, if there are any other scopes required to handle this.

Once this is registered with the desired scopes, you'll need to post in the #staff-identity-authentication-services channel to ask for admin approval of the app (all apps required admin approval now, regardless of which permissions they need).

Definition of Done

Example

mitchdawson1982 commented 10 months ago

Not sure on the normal timeline for approvals on this type of request but I have given a nudge to the Azure admin that has picked this up via the slack channel.

mitchdawson1982 commented 10 months ago

Jacob Khoo confirmed he is raiding a change for Tuesday CAB to perform the admin approval implementation this week.

mitchdawson1982 commented 10 months ago

I had raised this with Matt W for approval to avoid the need for a CAB change however Matt hasn't as yet responded. I have therefore agreed with Jacob Khoo the following:

mitchdawson1982 commented 9 months ago
github-actions[bot] commented 7 months ago

This issue is being marked as stale because it has been open for 60 days with no activity. Remove stale label or comment to keep the issue open.