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!

    API keys not working after upgrade

    Scheduled Pinned Locked Moved Support
    nugetprogetapi
    4 Posts 3 Posters 43 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.
    • C Offline
      claes.hermansson_6271
      last edited by

      We just upgraded ProGet from 5.0.7 to 5.1.19 and now pushing NuGet packages has stopped working with error message "Forbidden ... Response status code does not indicate success: 403 (Invalid API key)."

      I have read all documentation and can't figure out why. Same error with old keys and newly registered.
      API key logging is on but no logs are produced, have also tried to enable Debug mode in ProGet but can't get any more information.

      Product: ProGet
      Version: 5.1.19

      1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer
        last edited by

        There were no changes that would have caused this, but common things to check are

        • Make sure WebDAV or another HTTP-filter didn't get enabled or installed by mistake; this will block certain requests from ever reqching ProGet

        • Grant anonymous user full permissions to make sure the connection works; often times, the error is between ProGEt and the client

        • Once it works with anonymous, start restoring privileges/API keys until you identify which configuration is causing it

        1 Reply Last reply Reply Quote 0
        • C Offline
          claes.hermansson_6271
          last edited by

          The problem occured because some authentication behaviour is changed in ProGet, the solution was to alter the syntax of the Feed API user from [domain]\[userid] to [userid]@[domain].[top domain]. The old syntax worked before upgrading, no hints in ProGet that this had changed.

          1 Reply Last reply Reply Quote 0
          • T Offline
            thoven
            last edited by

            As a followup, it's worth mentioning that this occurs specifically when directory providers are switched. The "Active Directory (New)" user directory requires the user@domain.tld format, so switching from the previous "LDAP & Active Directory" user directory (which supported netBIOSdomain\user) no longer can impersonate.

            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