OAuth U2M AWS Token Failure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2024 09:19 AM
I am attempting to generate a manual OAuth token using the instructions for AWS. When attempting to generate the account level authentication code I run into a localhost error:
I have confirmed that all variables and urls are correct and that I am logged in via:
databricks auth login --host <account-console-url> --account-id <account-id>
I noticed a similar issue in another community thread which documents a similar problem with Azure Databricks. I followed the steps outlined in the solution (including breaking up my script). I noticed though that if I adjust the url to generate the account-level authorization code to the Azure version I get to a Databricks login page:
I am unclear why I am not getting to the AWS login page following the instructions provided. Any assistance would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2024 10:10 AM
After investigating further, the localhost issue was because I was already logged in and did not need to login again. The returned URL contained the authorization code. I was able to authenticate and run account level API requests with the generated bearer code.