ASPNETSelfCreatedTokenAuthExample
ASPNETSelfCreatedTokenAuthExample copied to clipboard
Running on CoreCLR on Linux
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?
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?
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.