You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 variablefull_identifier
of the format .. However, in my case the function is called with afull-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.The text was updated successfully, but these errors were encountered: