aws / aws/amazon-redshift-jdbc-driver
Something unusual has occured to cause the driver to fail. Please report this exception: To use get credentials, you must provide an active custom domain name.
- Dominant language
- Java
- Stars
- 71
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
When connecting to Redshift using Okta and the com.amazon.redshift.plugin.BrowserSamlCredentialsProvider plugin the following error is received:
`error:[99999\] Something unusual has occured to cause the driver to fail. Please report this exception: To use get credentials, you must provide an active custom domain name.`
This appears to be a regression in version 2.2.x of the driver, downgrading to 2.1.0.x (specifically tested with 2.1.0.32) works fine. It appears to be an issue with the AWS SDK v1 > v2 migration.
Contributor guide
Research direction
Start by reproducing the Okta connection with com.amazon.redshift.plugin.BrowserSamlCredentialsProvider on driver 2.2.x, then compare it with 2.1.0.32. Inspect the AWS SDK v1-to-v2 migration and the credential lookup path; done means the current driver works without the custom-domain exception and the regression is covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100