Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Bower and windows authentication

    Scheduled Pinned Locked Moved Support
    ldapprogetauthentication
    4 Posts 1 Posters 5 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hi,

      The Bower KB article states:
      "Currently, Bower can only connect to ProGet if Windows authentication is not used."

      Does this mean that you have to disable LDAP authentication altogether for the ProGet server?

      If so, this it a shame as we would like to use the Bower integration but are actually paying for the Pro version because of the LDAP authentication feature.

      Are you working on supporting LDAP authentication for Bower? Or it it not possible at all?

      Product: ProGet
      Version: 3.3.4

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Hi Peter- so far as I know it's only possible to use basic authentication with Bower, and even then you'd need to store the user name and password in the registry URL. I think it just wasn't really built with authentication in mind. As far as LDAP goes, the Bower and npm clients don't send Windows authentication headers, so integrated authentication is not possible. However, ProGet can be configured in such a way that it will use basic authentication with your LDAP credentials. This would still require sending a username/password to the ProGet server, but they would be your LDAP username/password.

        We're new to the Bower space ourselves so we're certainly open to feedback on how to improve this.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Hi Dean,
          Ok i see, bower doesn't really support this.
          We have also just begun using bower here.

          So if I wan't to keep using LDAP authentication for my NuGet feeds, and would like to add a bower feed, I would then have to configure ProGet to use basic authentication with my LDAP credentials, it that correct?

          How do I configure ProGet for this setup?

          Do you have an example on how the registry URL would look that includes username and password?

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            If you go to Admin->All Settings and change IntegratedAuthenticationEnabled to False and click Save, then it should use forms/basic authentication with LDAP as the user directory source.

            Note that if you are hosting the web site with IIS, you'll also have to enable Forms authentication and disable Windows authentication in there for the site. If you're using the integrated web server, it should just work.

            Once configured like this, you can supply the username and password in the url for the client. There is an example of this available if you click on the configuring Bower link visible on the page for any Bower package in ProGet. As far as I know, this is the only way to get it to work.

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post
            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation