We are trying to create a JWT in order to get oauth2 token from login.microsoftonline.com and then use that token to get key/secret from an Azure Key Vault.
It seemed like it would be quite straightforward by using the Create method of class %Net.JSON.JWT
But already trying to set the first header parameter alg PS256 as specified by https://learn.microsoft.com/en-us/entra/identity-platform/certificate-cr... becomes a problem. Just to test, I do this:
set JOSE = {
"alg": "PS256"
}
and then using that and an arbitrary claims as parameters in Create method gives this
"Unsupported JOSE algorithm: PS256"
Changing from PS256 to RS384, for instance. makes that error go away so before going any further I already wonder if this is doable at all - at least by using that class and method? Any help or suggestions are welcome!
1 Comment
https://community.intersystems.com/post/creating-json-web-token-jwt-microsoft
For example we have a docker app that receives a .csv file from windows environment and then do some processing on it in docker linux environment.
Windows encode new line in CRLF format, but linux can understand only LF and throw an unexpected errors like
ERROR #7207: Datatype value '100 ' is not a valid number > ERROR #5802: Datatype validation failed on property 'esh.i14y.csv.CelciusCSV.Record:Temperature', with value equal to "100 "
Is there a way to convert new line logic inside iris container in cases when .csv file (and other possible files) comes from windows environment ?
4 Comments
https://community.intersystems.com/post/crlf-lf
2/03 ~ 2/09Week at a GlanceInterSystems Developer Community
https://community.intersystems.com/node/583066
文章
#InterSystems IRIS for Health
二月 03 - 09, 2025Week at a GlanceInterSystems Developer Community
https://community.intersystems.com/node/583067
https://community.intersystems.com/post/objectscript-get-classs-property-error