Base solution for your next web application
Open Closed

Authorization in Azure Functions #5087


User avatar
0
PhilWynn created

Hi,

I am attempting to use Azure Functions to run reports out of process.

After much time spent, I have given up on achieving this using the Application layer, as there is a know issue with Azure Functions that requires a hard coded dependency on v9.0.1 of Newtonsoft.Json (Abp requires >= v11.0.2). I have found no way to resolve the resulting conflict.

So, I have set up my function to access the database directly, and all is working so far.

The problem I am having is with authorization. When calling the Azure Function from the Aspnet Zero web app, the Auth Cookie is sent across. However, I do not know how to decrypt this to access the session information.

Any advice here would be much appreciated.

If there is anybody out there who has got Azure Functions to work against the Abp framework, again any advice would be much appreciated.

Many thanks.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @PhilWynn,

    Unfortunately we don't have any experience on Azure Functions. Probably you can find how to decrypt an ASP.NET Cookie on the web.