How to skip cli authentication if run locally?
gentlee opened this issue · 4 comments
gentlee commented
There is a DEBUG_DISABLE_AUTH
env but looks like it doesn't make it work.
gentlee commented
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.
lucen-ms commented
We have updated readme to clarify how skipping authentication works.
gentlee commented
@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?
lucen-ms commented
It's not possible - you need to add user via OAuth step first.