Secure Setting Max Char limit
I have been trying to setup my app to use to secure settings and it seems like there is a max char limit which is causing some issues and I was wondering how others have been working with this. I went to our IAM folks and was told there isn't anything we can remove to reduce the max number of chars in the token. Has anyone else run into this issue and if s is there anything you did beside removing items from the token?
Thanks,
AW
-
Hey Andrew,
I have not run into this for secure settings specifically, but I have for hidden settings.
In that case it was a stringified JSON payload that we (conditionally) split in half and divided over 2 settings. On retrieval we concatenated this. I guess this might not work for plenty of the secure setting use cases, but who knows ;) -
Sebastiaan,
Thank you for your response however this will not work since it is a JWT I am using to connect to my company's oauth. It is specified in the manifest.json file as such:"parameters": [
{
"name": "token",
"type": "oauth"
}],
"oauth": {
"client_id": "CID",
"client_secret": "CS",
"authorize_uri": "URL/token",
"access_token_uri": "URL/token"
},
...The value for this is entered when I install the app and that is where I am facing this issue with the char limit.
Andrew Wells
Please sign in to leave a comment.
2 Comments