Dear developers, thanks a lot for maintaining this crate, it saves a lot of time!
In our project we are connecting to a snowflake ressource with a servername of the following format: xxxxxxx.eu-central-1.snowflakecomputing.com. Because of that, the generation of a correct JWT is not possible as the function pub fn generate_jwt_token from jwt/src/lib.rs expects a variable full_identifier of the format .. However, in my case the function is called with a full-identifier of the format .<local zone of the cloud ressource (eu-central-1 in my case)>.. As consequence, the generated JWT is invalid and authentification to Snowflake is not possible.
One solution might be to check if the full-identifier includes a local zone and remove that part if so.
Dear developers, thanks a lot for maintaining this crate, it saves a lot of time!
In our project we are connecting to a snowflake ressource with a servername of the following format: xxxxxxx.eu-central-1.snowflakecomputing.com. Because of that, the generation of a correct JWT is not possible as the function
pub fn generate_jwt_tokenfrom jwt/src/lib.rs expects a variablefull_identifierof the format .. However, in my case the function is called with afull-identifierof the format .<local zone of the cloud ressource (eu-central-1 in my case)>.. As consequence, the generated JWT is invalid and authentification to Snowflake is not possible.One solution might be to check if the
full-identifierincludes a local zone and remove that part if so.