Error: oidc: fetch .well-known: Get "https://%E2%80%93host/oidc/.well-known/oauth-authorization-serv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 02:14 AM
I'm trying to authenticate databricks using WSL but suddenly getting this error.
/databricks-asset-bundle$ databricks auth login –host https://<XXXXXXXXX>.12.azuredatabricks.net
Databricks Profile Name:<XXXXXXXXX>
Error: oidc: fetch .well-known: Get "https://%E2%80%93host/oidc/.well-known/oauth-authorization-server": dial tcp: lookup xn--host-z86a on 192.168.240.1:53: no such host
Someone could you please help me!
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2025 01:28 AM
It looks like the issue is caused by the dash before host. The command is using an en-dash (–) instead of a regular hyphen (-) — which breaks the URL parsing.
Try running this instead:
databricks auth login --host https://<your-instance>.azuredatabricks.net(make sure you use two regular hyphens before host)
If you’re testing your OIDC setup or want to validate .well-known endpoints, token responses, or redirect flows, you can use these tools:
OIDC Debugger – test OIDC authorization code flow
JWT.io – inspect and verify JWT tokens
OAuth Playground – simulate OIDC & OAuth flows
These can help ensure your OIDC configuration and endpoints are working as expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2025 09:36 PM
Great, these are amazing resources! I'm using them to test my IAM apps and flow.