Skip to content
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

DUPLO-26089: use a predetermined localPort #29

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

zafarabbas
Copy link
Contributor

@zafarabbas zafarabbas commented Oct 31, 2024

Overview

Proposed by Ofir @ Seven AI

duplo-jit to have it use a predetermined localPort, which could then be exposed from devcontainer


Slack:

question for the duplo folks about duplo-jit + aws + admin access
specifically, this part of the ~/.aws/config file:

[profile playground]
region = us-east-2
credential_process = duplo-jit aws --admin --host https://duplo.cloud.sevenai.com/ --interactive

some of our team is working within a visual studio devcontainer , so when duplo-jit sends us out to the browser to click "Authorize" , the authorize button won't work because the localPort isn't exposed from our devcontainer
example url: https://duplo.cloud.sevenai.com/app/user/verify-token?localAppName=duplo-jit&localPort=45461&isAdmin=true
what is the recommended solution ? I believe Ofir was hacking around on duplo-jit to have it use a predetermined localPort, which could then be exposed from devcontainer, in case that helps

@zafarabbas zafarabbas requested a review from duplodavid October 31, 2024 19:32
Copy link

@zafarabbas zafarabbas requested a review from sp1676 October 31, 2024 19:32
@duplodavid duplodavid merged commit 7ca0c45 into duplocloud:develop Oct 31, 2024
4 checks passed
duplodavid added a commit that referenced this pull request Nov 8, 2024
* version bump

* add codium AI pr agent

* update codium AI pr agent

* DUPLO-13650 improve format of tenant missing message

* DUPLO-13650 elide err when nil in fatal messages

* Update CHANGELOG.md

* DUPLO docs: add Homebrew installation section

* Update CHANGELOG.md

* DUPLO-26089: use a predetermined localPort (#29)

* Allowing to choose port in interactive auth

* Fixing port usage

---------

Co-authored-by: notofir <[email protected]>

* DUPLO-26089 Update versions in workflows

* DUPLO-26089 update go.mod to 1.23

* DUPLO-26089 fix a few lint issues

* DUPLO-26089 fix two more lint issues

---------

Co-authored-by: duplo-bot <[email protected]>
Co-authored-by: Joe Khoobyar <[email protected]>
Co-authored-by: David Wolfe <[email protected]>
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
Co-authored-by: Joe Khoobyar <[email protected]>
Co-authored-by: Matheus Bafutto <[email protected]>
Co-authored-by: Zafar Abbas <[email protected]>
Co-authored-by: notofir <[email protected]>
Co-authored-by: sp1676 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants