update google workspace and azure ad idp docs (#71)

* update google workspace and azure ad idp docs

* add request changes
This commit is contained in:
Bethuel Mmbaga
2023-07-10 22:07:27 +03:00
committed by GitHub
parent 84d2929191
commit 728338040c

View File

@@ -534,6 +534,10 @@ https://login.microsoftonline.com/<TENANT_ID>/v2.0/.well-known/openid-configurat
Double-check if the endpoint returns a JSON response by calling it from your browser.
</Note>
<Note>
Client authentication using SSO is currently not supported for the Azure AD IDP. We are actively working on a solution to address this issue.
</Note>
- Set properties in the `setup.env` file:
```shell
NETBIRD_AUTH_OIDC_CONFIGURATION_ENDPOINT="https://login.microsoftonline.com/<TENANT_ID>/v2.0/.well-known/openid-configuration"
@@ -545,7 +549,8 @@ NETBIRD_AUTH_DEVICE_AUTH_CLIENT_ID="<APPLICATION_ID>"
NETBIRD_AUTH_REDIRECT_URI="/auth"
NETBIRD_AUTH_SILENT_REDIRECT_URI="/silent-auth"
NETBIRD_AUTH_USER_ID_CLAIM="oid"
NETBIRD_AUTH_DEVICE_AUTH_SCOPE="openid api://<APPLICATION_ID>/api"
NETBIRD_AUTH_DEVICE_AUTH_PROVIDER="none"
NETBIRD_MGMT_IDP="azure"
NETBIRD_IDP_MGMT_CLIENT_ID="<APPLICATION_ID>"
@@ -1103,6 +1108,10 @@ Read how to manage and secure your service keys [here](https://cloud.google.com/
base64 -i <SERVICE_ACCOUNT_KEY_PATH>
```
<Note>
Client authentication using SSO is currently not supported for the Google workspace IDP. We are actively working on a solution to address this issue.
</Note>
- Set properties in the `setup.env` file:
```json
NETBIRD_DOMAIN="<YOUR_DOMAIN>"
@@ -1116,11 +1125,7 @@ NETBIRD_AUTH_REDIRECT_URI="/auth"
NETBIRD_AUTH_SILENT_REDIRECT_URI="/silent-auth"
NETBIRD_TOKEN_SOURCE="idToken"
NETBIRD_AUTH_DEVICE_AUTH_PROVIDER="hosted"
NETBIRD_AUTH_DEVICE_AUTH_CLIENT_ID="<CLIENT_ID>"
NETBIRD_AUTH_DEVICE_AUTH_AUDIENCE="<CLIENT_ID>"
NETBIRD_AUTH_DEVICE_AUTH_SCOPE="openid email"
NETBIRD_AUTH_DEVICE_AUTH_USE_ID_TOKEN=true
NETBIRD_AUTH_DEVICE_AUTH_PROVIDER="none"
NETBIRD_MGMT_IDP="google"
NETBIRD_IDP_MGMT_EXTRA_SERVICE_ACCOUNT_KEY="<BASE64_SERVICE_ACCOUNT_KEY>"