Chart install configuring Azure SSO -

Hi all,

I’m trying to configure Azure SSO for my Kubernetes install in AKS and I’m unable to progress past the following error when trying to sign in.

From logon.microsoft.com
AADSTS900144: The request body must contain the following parameter: ‘client_id’.

My provider.yml
name: azure_oauth2
args:
client_id: CLIENT_ID
client_secret: CLIENT_SECRET
tenant_id: TENANT_ID

Command used to create kube secret:
kubectl create secret generic -n default gitlab-azure-oauth2 --from-file=provider=provider.yml

Then a reset:
kubectl delete pods -l release=gitlab

Gitlab configuration:
…truncated…
global:
appConfig:
omniauth:
enabled: true
autoSignInWithProvider: azure_oauth2
syncProfileFromProvider: [‘azure_oauth2’]
syncProfileAttributes: [‘name’,‘location’,‘email’]
allowSingleSignOn: false
blockAutoCreatedUsers: true
externalProviders:
providers:
- secret: gitlab-azure-oauth2

What am I missing here? I’m assuming either my secret isn’t being read properly or my provider.yml isn’t correct. Mind you this config works fine for OmniBus install just that the secret is in the config file!

Going Insane!
Adam

Well…that’s embarissing…

allowSingleSignOn: false

should be

allowSingleSignOn: true