netcore_auth Application

This application is called by a wordpress blog plugin to decrypt the cookie value that’s passed in. Inside the plugins folder, there are folders named iisauth (and iisauth-dev) which contain php files where the netcore_auth application is called from a function named getNetCoreAuthUserName().

There’s no Jenkins CI job to build the netcore_auth application, it needs to be built locally in VS in release mode and published to a local folder on your dev machine. Then FTP all of the files in the publish folder out to the server(s). The “keys” folder doesn’t get included in the publish output, so be sure to include the keys folder from the original directory on the server. The netcore_auth application binary is located on the servers in /irv/[ENVIRONMENT]/apps.

 

SVN locations:

 

Testing:

To test the netcore_auth app run the following from the dev server, it should return the user’s email and time zone and organization ID values:
[app-dev-b3 /tmp] cd /irv/dev/apps/netcore_auth && dotnet Interact.NetCoreAuth.dll decrypt [VALUE OF THE .AspNetCore.InterAuth COOKIE FROM BROWSER DEV TOOLS] Eos