Meteor-Community-Packages / Meteor-Community-Packages/stratosphere
Access denied when trying to meteor publish
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 29
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I have setup stratosphere and am able to login to the UI using meteor account. However, I am not able to publish the package because of the below error:
--------------------------------------
METEOR_PACKAGE_SERVER_URL="http://localhost:3000/" meteor publish
It looks like you have been logged out! Please log in with your Meteor developer account. If you don't have one, you can quickly create one at www.meteor.com.
Username: amit
Password:
/Users/Amit/.meteor/packages-from-server/localhostX3000/meteor-tool/.1.6.1_3.1tku9me.t88gh++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:218
throw error;
^
Error: access-denied
at sendAuthorizeRequest (/tools/meteor-services/auth.js:374:11)
at oauthFlow (/tools/meteor-services/auth.js:405:25)
at Object.exports.loginWithTokenOrOAuth (/tools/meteor-services/auth.js:981:17)
at Object.exports.loggedInConnection (/tools/meteor-services/auth-client.js:66:4)
at Object.exports.loggedInPackagesConnection (/tools/packaging/package-client.js:241:21)
at Command.func (/tools/cli/commands-packages.js:313:32)
at /tools/cli/main.js:1523:15
---------------------------------------------
I had read on other issue about using a modified auth-client.js but do not see anything in the instructions here. So I am not sure if that is still required and if yes, where do I need to get the file from.
Note: I am not a developer.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with METEOR_PACKAGE_SERVER_URL="http://localhost:3000/" meteor publish and compare it with the successful UI login. Start by reading the referenced auth-client.js flow and the repository instructions, then trace the access-denied path. Done means package publishing authenticates correctly or the required authentication setup is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- authentication, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100