Seeking Advice: Automating OAuth Token Retrieval Using `windows.open()`
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2023 08:52 PM
Hey everyone,
I'm currently grappling with a challenge related to automating the retrieval of OAuth tokens within a web environment. The situation involves needing an `oauth_token` via a UI action that triggers the opening of a specific link in the browser. This link looks something like:
The catch here is that the process relies on the `windows.open()` function, which can only execute on the client side. Our goal is to acquire the OAuth token for an access token, especially when the current token has expired.
I'm seeking guidance on how to achieve this automation and the underlying logic required. Any insights, strategies, or tools that could assist in handling this scenario would be greatly appreciated!
Thank you for your expertise!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2024 12:27 PM
Hello ! Any update on this, did you find any solution ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2024 10:34 PM
@Muhammad SalarWe didn't find any solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 05:23 AM
I have a similar situation, the only way around i have found is to navigate to this link from client script, by navigating, same process runs and token will be generated