microsoft/code-push-server

How to skip cli authentication if run locally?

gentlee opened this issue · 4 comments

There is a DEBUG_DISABLE_AUTH env but looks like it doesn't make it work.

There is a line in ENVIRONMENT.md about it:

DEBUG_DISABLE_AUTH: Disable the OAuth autentication route, allowing you to make requests as anybody without authorizing. Do not set this without going through the proper channels (see section Disabling Auth)

But there is no Disabling Auth section in the repo.

We have updated readme to clarify how skipping authentication works.

@lucen-ms so when running locally, is it possible to skip OAuth step and create existing user under which use the app, together with cli?

It's not possible - you need to add user via OAuth step first.