ASPNETSelfCreatedTokenAuthExample icon indicating copy to clipboard operation
ASPNETSelfCreatedTokenAuthExample copied to clipboard

Running on CoreCLR on Linux

Open geertendoornenbal opened this issue 9 years ago • 2 comments

Did you manage to get this running on CoreCLR on Linux?

I tried on Ubuntu. I managed to get the creation of the key working by modifying the lRsa = new RSACryptoServiceProvider(2048); to lRsa = new RSAOpenSsl(2048);

But I get into issues when trying to create a token, when the framework tries to create an AsymmetricSignatureProvider.

This seems to be this issue.

Has anyone tried anything like this yet?

geertendoornenbal avatar Feb 02 '16 14:02 geertendoornenbal

I haven't tried running it on Linux / CoreCLR - that issue looks like it's resolved though, have you tried the very latest core CLR to see if it now works?

mrsheepuk avatar Feb 03 '16 09:02 mrsheepuk

I have tried on the latest unstable release of DNX, which is rc2-16357. However I tried to run with the latest unstable packages, but that required too much breaking changes, which were too much to figure out. I also suspect that the issue will be fixed going forward with the new release.

geertendoornenbal avatar Feb 03 '16 12:02 geertendoornenbal