You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please confirm idp-issuer-url, client-id, client-secret and idp-certificate-authority-data value is same as config-ad-kubelogin.yaml's value.
117
+
Please confirm `--oidc-issuer-url`, `--oidc-client-id`, `--oidc-client-secret` and `--certificate-authority-data` are same as values in config-ad-kubelogin.yaml.
115
118
116
-
Then run kubelogin:
119
+
Run the following command:
117
120
118
121
```console
119
-
$ kubelogin
122
+
$ kubectl --user=oidc cluster-info
120
123
```
121
124
122
-
Access http://localhost:8000 by web browser and login with your AD account (eg. [email protected]) and password.
123
-
After login and grant, you have following token in ~/.kube/config:
125
+
It launches the browser and navigates it to http://localhost:8000.
126
+
Please log in with your AD account (eg. [email protected]) and password.
127
+
After login and grant, you can access the cluster.
124
128
125
-
```
126
-
id-token: eyJhbGciOiJSUzICuU4dCcilDDWlw2lfr8mg...
127
-
refresh-token: ChlxY2EzeGhKEB4492EzecdKJOElECK...
128
-
```
129
+
You can switch the current context to dex authentication.
0 commit comments