Skip to content

Issue with azure ad authentication #1720

Answered by seantleonard
mshafiqmk asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mshafiqmk ,

When using DAB with Static Web Apps (Database Connections feature), DAB configuration (for Static Web Apps, this file may be named staticwebapp.database.config.json) and DAB's config should use the following authentication config per this doc snippet:

"authentication": {
    "provider": "StaticWebApps"
}

From Static Web Apps, you can then configure authentication providers like Azure AD. Step by step found here: https://learn.microsoft.com/azure/static-web-apps/authentication-authorization


For convenience, these were the steps I had used to create my own working SWA+DAB environment.

The following changes should be made in your Static Web Apps config file staticwebapp.conf…

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
7 replies
@Aniruddh25
Comment options

@mshafiqmk
Comment options

@thomasgauvin
Comment options

@mshafiqmk
Comment options

@thomasgauvin
Comment options

Answer selected by thomasgauvin
Comment options

You must be logged in to vote
2 replies
@seantleonard
Comment options

@CalvinQuark
Comment options

Comment options

You must be logged in to vote
1 reply
@seantleonard
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants