I have developed several web API's for my Blazor front-ends.
The front-end's are using Code Flow (PKCE) against Azure AD.
Now some users want to access the API from MS Excel.
When making the call to the API I need to pass a token that can identify the logged in user.
In Excel the users are logged-in to our AD that are synched to Azure AD.
So I am thinking of using Integrated Windows Authentication if it's possible.
The ideal workflow would be for the user to go to the swagger end-point choose the call to make and use that to import data into Excel.
When excel wants to access the data a sign in form should pop-up. I guess though the web browser or the phone?
How can I use most of the build-in Excel features without coding a lot off "ugly" VBA code?
It's not just me shy of writing VBA code (: But Excel can do so much out of the box and I would like to give the users a good experience.
Authentication flows and application scenarios
I would like to implement angular single page application with B2C authentication.
Multiple micro services created for different purpose. I have created
different Applications for all the micro services under B2C tenant.
taken help from below URL
https://azure.microsoft.com/en-us/resources/samples/active-directory-b2c-dotnet-webapp-and-webapi/
I am unable to use the token acquired for one Web API application is to other WEB API application.
Is there a way to use single access token for multiple micro services using B2C authentication.
trying to find solution in google since last one moth but no luck.
Some body can help me on this issue. What is the best approach to implement micro services concept using Azure AD B2C authentication. any sample would be a great help
I have a requirement for a new MVC5 web app am working on.
I need to use active directory based authentication for the back-end,and SQL server based authentication for regular users.
in our company's local applications I use forms authentication and I integrate it with active directory using custom authorize attribute, but now i have to add SQL server authentication and make them work at the same time.
is there anyone had to solve a similar problem, and if so how did you go about it ?
I'm developing an add-in with Javascript that integrates with https://data.world. To get started I'm pointing the add-in to an existing web app https://dw_experiments_dev.hardworkingcoder.com I added that site and data.world as AppDomains. In a regular browser I can login via Ouath. But with Excel I get through the auth process and then see my homepage but as a logged out users. My app is using sessionStorage.
I'm using Xamarin Forms and Windows Azure for SQL Database. In the last version of windows azure they give you an application key to avoid unauthorized access to the web services but now they remove the application key and now they are using authentication through Facebook, google, etc.
The question is I want to protect my web services but I don't want to use facebook or google authorization because I'm using my own login and password.
I want my web services unprotect
I want to protect my tables but I receive and error while reading the data
According to your screenshot, I assumed that you are using Easy tables with access permission. As I known, when you add a new table under Easy tables, it would automatically create the related Node.js back-end, you could go to App Service Editor (Preview) in the Development Tools section of your mobile app as follows:
For Node.js back-end custom authentication, you need to set auth congiguration for your server side, and build your custom login endpoint to validate the client and generate the JWT token for your client. Here is a similar issue, you could refer to here.
Additionally, you could build the C# back-end by yourself and deploy to the mobile app. For custom authentication, you could refer to adrian hall's book about Mobile Apps Custom authentication. For data access, you need to build table controller for each of your SQL table, you could refer to Implementing Table Controllers.
Note:
You must turn on Authentication / Authorization in your App Service. Set the Action to take when request is not authenticated to Allow Request (no action) and do not configure any of the supported authentication providers.
For client app, you could leverage Azure Mobile Client SDK for connecting with your azure mobile app backend. For more details, you could refer to this tutorial about working with managed client for Azure Mobile Apps.