No authentication providers available to register
papadi opened this issue · 1 comments
I created my Azure resources using the "az deployment" provided in the documentation without providing any OAuth options, since the docs say it's optional at that stage. I configured github oauth in my .env file (see below). I didn't define Microsoft OAuth at all, I hope this isn't the problem.
After doing this I ran npm install and npm run build and then deployed the server again using the Azure VS Code extension.
My problem is that when I use the command to register, I get a browser page which offers no authentication providers (see picture below)
code-push-standalone register https://codepush-xxxxxxxx.azurewebsites.net
Any idea why this might be?
ps... here's my .env file:
AZURE_STORAGE_ACCOUNT=xxxxxxxx
AZURE_STORAGE_ACCOUNT_KEY=**********
SERVER_URL=https://codepush-xxxxxxxx.azurewebsites.net
GITHUB_CLIENT_ID=xxxxxxxxxxx
GITHUB_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxx
Never mind, I would have to push the .env to git for this to work. Instead I entered the env variables directly in the azure app service.