Open mshafiqmk opened 12 months ago
I figure out the issue , the documentation , I have figure it out and also added PR to update the docs : https://github.com/MicrosoftDocs/data-api-builder-docs/pull/5
Thank you for creating a PR to improve the docs and I'm sorry you wasted time trying to get this sorted out. I'll take a look at your doc update and get that into our docs.
In the meantime, more information about authorizing a request (after you have acquired your Azure AD access token) can be found in the authorization documentation which discusses usage of custom roles: https://learn.microsoft.com/en-us/azure/data-api-builder/authorization#user-roles.
Thank you for creating a PR to improve the docs and I'm sorry you wasted time trying to get this sorted out. I'll take a look at your doc update and get that into our docs.
In the meantime, more information about authorizing a request (after you have acquired your Azure AD access token) can be found in the authorization documentation which discusses usage of custom roles: https://learn.microsoft.com/en-us/azure/data-api-builder/authorization#user-roles.
This seems to be issue with SWA and DATA builder api , i deploy same dab-config.json file to azure container apps and every thing works there as expected.
What happened?
I am following the azure docs to configure authentication using azure ad
https://learn.microsoft.com/en-us/azure/data-api-builder/authentication-azure-ad#assign-roles-to-your-account
But always getting 403 , I have every thing , the roles exists , the issuer , audience and every thing is correct as per the configuration.
there seems to be no way to check logs and investigate this issue.
Version
Microsoft.DataApiBuilder 0.8.49+0aebfe2179ee27d1e1723776dd4662459674e987
What database are you using?
Azure SQL
What hosting model are you using?
Local (including CLI)
Which API approach are you accessing DAB through?
REST
Relevant log output
Code of Conduct