Hi,
We are trying to enable security on Atlas and WebApi applications.
First we plan to enable authentication. We would like to authenticate users based on the Azure AD.
User will go to Atlas web page and if its not logged it will be redirected to microsoft Azure login page then after succesfull authentication will be able to use Atlas web page and also get data from database through WebApi.
Additionally both Atlas and WebApi are hosted on Azure webApp server.
Does anyone of you have experience how to configure applications to achieve this on Azure cloud env ?
I found that on Atlas there is config file called “config-local.js” which allows to specify auth provider.
For WebApi in settings.xml it is possible to specify auth configuration, but I’m not sure which one is the best for our scenario(we were thinking than maybe openID will help us).
Using this dockerized method to create a full stack environment is likely the best approach for you. Otherwise using the Azure tools will be a steep learning curve.
Try this locally using Docker-Desktop, and once your configuration works you can migrate it to a VM on Azure and make it generally available with security enabled.
We just completed a similar effort on Google Cloud. Join us on our beta discord channel if you would like to learn more: Discord
The implementers channel has a recent and detailed thread under LDAP security from which you can learn the detailed steps.
Thank you for your replies, @Sanjay_Udoshi using that dockerized method would it be possibile to configue WebApi to use data source spark/ databricks for CDM data ?
Yes, absolutely. I don’t have experience with Spark, so I can’t help, but specifying your CDM is very easy once you have security enabled. If you don’t have security enabled, you will have to manually add the parameters (jdbc string to connect, username, password etc) in the webapi.source and webapi.source_daimon tables in the postgres backend for WebAPI.
We’re looking for more information and detailed steps around enabling ATLAS security through Azure ED (Entra). Did your attempts ever work, and would you be able to share the steps you used?
Many thanks!