Implementing Azure SSO with HTTPS in DataHub Docker Instance on EC2

Original Slack Thread

Hello,
I’m trying to implement Azure SSO login in my datahub instance, which I’m running with docker-compose in an EC2. The problem is that Azure needs a safe redirect URL for authentication and my datahub is running HTTP. How can I use SSL in this scenario? Is there any config I should do so that it runs locally with HTTPS?

<@UV5UEC3LN> might be able to speak to this!

https://datahubproject.io/docs/authentication/guides/sso/configure-oidc-react-azure/#1-create-an-application-registration-in-microsoft-azure-portal

> d. Select Web as the Redirect URI type and enter the following:
> <https://your-datahub-domain.com/callback/oidc>
>
>
> If you are just testing locally, the following can be used: <http://localhost:9002/callback/oidc>. Azure supports more than one redirect URI, so both can be configured at the same time from the Authentication tab once the registration is complete.