-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SNOW-1692674: Unable to auth with custom Okta url #1213
Comments
hi - thanks for raising this. can you please provide the relevant configuration bit from your program, how you configure the authenticator ? of course if needed, please mask out the actual URL, i would like to see the format only. thank you ! edit reason for asking because if you configure at this moment no other (custom) format for Native Okta is supported, of course this can be handled as a feature request to support it. but first it would be great to get confirmation about how you use the authenticator. |
Example of this would be - dsn := "serviceaccount:password@accountname/dbname/schemaname?authenticator=https://myapps.companyname.com" where https://myapps.companyname.com is the main Okta url used and configured within snowflake. Python does allow for this type of connection using the python snowflake connector library. example:
|
thank you for sending the example; good to confirm your use-case indeed relevant to the Native Okta authenticator, and especially using custom domain for the IdP. indeed, PythonConnector and some other drivers (for example the node.js one) already support custom URL for Native Okta auth, gosnowflake doesn't support it yet. we'll look at this enhancement request and i'll keep this ticket posted with the progress (no timeline estimated) |
Thank you, I do see some other support. My main use case is related to terraform which is written to use the Go driver as of now. |
got you, so externalbrowser is probably not an alternative for you. until this gets implemented (and, Snowflake Terraform Provider rebased on the future gosnowflake version which will support custom Okta URL..), would keypair or oauth authentications be a workaround for you? both allow for noninteractive auth and already supported by gosnowflake |
PR under review #1216 |
PR is merged and will be part of the next upcoming release cycle. (Usually we release towards end of a given month) |
Awesome, I appreciate it. Thank you very much
<snip>
|
released with v1.12.0 in October 2024 release cycle |
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
What version of GO driver are you using?
Latest Version
What operating system and processor architecture are you using?
OSX - intel
What version of GO are you using?
run
go version
in your console4.Server version:* E.g. 1.90.1
You may get the server version by running a query:
When using Okta custom url for the okta_url - unable to authentication because it only accepts *.okta.com
I would like to see the ability to provide the custom okta url for authentication
The text was updated successfully, but these errors were encountered: