fix: Handling account_identifier before JWT token generation#64
fix: Handling account_identifier before JWT token generation#64pauliyobo wants to merge 3 commits intoandrusha:mainfrom
Conversation
|
@pauliyobo I've read through the https://docs.snowflake.com/en/user-guide/admin-account-identifier#non-vps-account-locator-formats-by-cloud-platform-and-region, but don't quite understand in which cases the region information is significant and which it isn't, the ".global" I haven't seen anywhere there at all. Maybe it would be helpful if you could add a few test cases? For example, for account identifier |
|
Hello |
|
Hello, |
When using keypair authentication with snowflake, and when a JWT token is issued, the account identifier needs to have the region information stripped from it.
This PR aims to fix this issue, as currently, the whole account identifier is used as the issuer, which causes an invalid token to be generated.