Users may need to install an app in sandbox where they have the required "Download AppExchange Packages" permission to Install a Package but I are not currently an administrator in the sandbox's related production org.
When trying to install an App from the AppExchange you will be prompted to login. The login for AppExchange must be your login to production where your user record's assigned profile is either System Administrator or has the "Download AppExchange Packages" permission otherwise, you will receive the messages below stating that you do not have permission to install the app after clicking the "Get it Now" button.
It's not possible to use your sandbox login while the URL is set to login.salesforce.com and it will state your username or password is incorrect and if you try to update the URL to test.salesforce.com, you will receive a message stating there was a problem with the authentication attempt.
Attempting to login to the AppExchange with production login credentials results in:
Trying to manually update the URL when prompted to login to read test.salesforce.com instead of login.salesforce.com results in the following error:
It's possible to circumvent these errors and install an App in a Sandbox even if you're not an administrator in the sandbox's related production org.
000387841

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.