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

Cannot sign in when host is behind HTTP basic authentication #198

Open
rubik opened this issue Sep 30, 2024 · 0 comments
Open

Cannot sign in when host is behind HTTP basic authentication #198

rubik opened this issue Sep 30, 2024 · 0 comments

Comments

@rubik
Copy link

rubik commented Sep 30, 2024

Our server is behind basic authentication, and the host is provided with URL-embedded basic authentication. The sign-in process starts well, but it doesn't complete. Note that the email verification step is completed successfully.

$ pdx sign-in
? Select an account: Add another account
? Use Plandex Cloud or another host? Another host
✔ Host: … https://user:pass@domain
✔ Your email: … email@domain
✉️  You'll now receive a 6 character pin by email. It will be valid for 5 minutes.
✔ Please enter your pin: … ******
✔ Your name: … Name
🧐 You don't have access to any orgs yet.

To join an existing org, ask an admin to either invite you directly or give your whole email domain access.

Otherwise, you can go ahead and create a new org.
Create a new org now? (y)es | (n)o> y
✔ Org name: … OrgName
With domain auto-join, you can allow any user with an email ending in @domain to auto-join this org.
Enable auto-join for domain? (y)es | (n)o> y
🚨 Error signing in
  → Error prompting for sign in to new account
    → Error creating account
      → Error resolving org
        → Error prompting no orgs
          → Error creating org
            → <html>
<head><title>401 Authorization Required</title></head>
<body>
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>

It seems that the URL-embedded basic authentication is lost at some point.

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

No branches or pull requests

1 participant