gsr
08/05/2024, 5:50 AMclientSecret
as advised by Microsoft.
i am using jwt.cfc file provided by
https://github.com/jcberquist/jwt-cfml
Detail The passed in token does not have an algorithm declaration or its declared algorithm does not match the specified algorithms of [].
ErrorCode [empty string]
ExtendedInfo [empty string]
Message Unsupported or invalid algorithm
\jwt\jwt.cfc:103
sometimes i get an error
invalid state and sometimes the above one
i can share code if someone can help who has coded such thingbkbk
08/05/2024, 1:12 PMdecode()
call without an algorithms
argument.
The JWT CFC usage page says:
"You must specify the allowed algorithms (either as a string or an array) when calling decode(). The algorithm in the token header must match one of the allowed algorithms."
gsr
08/05/2024, 1:45 PMMatt Jones
08/05/2024, 2:46 PMgsr
08/05/2024, 3:00 PMgsr
08/05/2024, 3:01 PMgsr
08/05/2024, 3:04 PM{
"typ": "JWT",
"alg": "RS256",
"kid": "KQ2tAcrE7lBaVVGBmc5FobgdJo4"
}
Matt Jones
08/05/2024, 3:21 PMgsr
08/05/2024, 3:29 PMMatt Jones
08/05/2024, 4:12 PMgsr
08/07/2024, 3:09 PM