On premise DAB cli authentication #1536
Unanswered
kenshinjeff
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi @kenshinjeff, Depending on the Identity Provider you use to manage users, user registration, etc. (such as Azure Active Directory), you can configure DAB to accept access tokens issued only by that provider. A tutorial on configuring DAB to accept Azure AD access tokens for a specific tenant can be found here: https://learn.microsoft.com/azure/data-api-builder/authentication-azure-ad You can use Static Web Apps to restrict your API to authenticated users as well. Including configuring Azure AD as a configured authentication provider.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, I've been playing around with the cli and it seems really convenient to expose my ms sql server via a config file. What I can't seem to understand is how can I restrict the API to authenticated users.
From this page, it seems like DAB assumes that if I were to configure it to with "Use the StaticWebApps provider" it will accept any Base64 encoded payload.
My intention is to expose the API on the internet, and allow authenticated users, or users with an API key to use the API. Is this possible?
Can anyone please point me in the right direction?
Beta Was this translation helpful? Give feedback.
All reactions