-
-
Notifications
You must be signed in to change notification settings - Fork 551
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support new properties for OIDC auth (#426)
This PR updates infrastructure_scripts to support self-hosted setup with a generic OIDC provider.
- Loading branch information
Showing
7 changed files
with
68 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
## example file, you can copy this file to setup.env and update its values | ||
## | ||
# Dashboard domain and auth0 configuration | ||
|
||
# Dashboard domain. e.g. app.mydomain.com | ||
NETBIRD_DOMAIN="" | ||
# e.g. dev-24vkclam.us.auth0.com | ||
NETBIRD_AUTH0_DOMAIN="" | ||
# e.g. 61u3JMXRO0oOevc7gCkZLCwePQvT4lL0 | ||
NETBIRD_AUTH0_CLIENT_ID="" | ||
# e.g. https://app.mydomain.com/ or https://app.mydomain.com, | ||
# Make sure you used the exact same value for Identifier | ||
# you used when creating your Auth0 API | ||
NETBIRD_AUTH0_AUDIENCE="" | ||
# e.g. https://dev-24vkclam.us.auth0.com/ or https://YOUR-KEYCLOAK-HOST:8080/realms/netbird | ||
NETBIRD_AUTH_AUTHORITY="" | ||
# e.g. netbird-client | ||
NETBIRD_AUTH_CLIENT_ID="" | ||
# indicates whether to use Auth0 or not: true or false | ||
NETBIRD_USE_AUTH0="false" | ||
# a list of scopes supported e.g. `openid profile email offline_access api` for keycloak or `openid profile email offline_access api email_verified` for Auth0 | ||
NETBIRD_AUTH_SUPPORTED_SCOPES="" | ||
NETBIRD_AUTH_AUDIENCE="" | ||
# URL of the JWT certificates e.g. https://dev-24vkclam.us.auth0.com/.well-known/jwks.json | ||
NETBIRD_AUTH_JWT_CERTS="" | ||
# e.g. hello@mydomain.com | ||
NETBIRD_LETSENCRYPT_EMAIL="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
## example file, you can copy this file to setup.env and update its values | ||
## | ||
# Dashboard domain and auth0 configuration | ||
|
||
# Dashboard domain. e.g. app.mydomain.com | ||
NETBIRD_DOMAIN="localhost" | ||
# e.g. dev-24vkclam.us.auth0.com | ||
NETBIRD_AUTH0_DOMAIN=$CI_NETBIRD_AUTH0_DOMAIN | ||
# e.g. 61u3JMXRO0oOevc7gCkZLCwePQvT4lL0 | ||
NETBIRD_AUTH0_CLIENT_ID=$CI_NETBIRD_AUTH0_CLIENT_ID | ||
# e.g. https://app.mydomain.com/ or https://app.mydomain.com, | ||
# Make sure you used the exact same value for Identifier | ||
# you used when creating your Auth0 API | ||
NETBIRD_AUTH0_AUDIENCE=$CI_NETBIRD_AUTH0_AUDIENCE | ||
# e.g. https://dev-24vkclam.us.auth0.com/ or https://YOUR-KEYCLOAK-HOST:8080/realms/netbird | ||
NETBIRD_AUTH_AUTHORITY=$CI_NETBIRD_AUTH_AUTHORITY | ||
# e.g. netbird-client | ||
NETBIRD_AUTH_CLIENT_ID=$CI_NETBIRD_AUTH_CLIENT_ID | ||
# indicates whether to use Auth0 or not: true or false | ||
NETBIRD_USE_AUTH0=$CI_NETBIRD_USE_AUTH0 | ||
# a list of scopes supported e.g. `openid profile email offline_access api` for keycloak or `openid profile email offline_access api email_verified` for Auth0 | ||
NETBIRD_AUTH_SUPPORTED_SCOPES=$CI_NETBIRD_AUTH_SUPPORTED_SCOPES | ||
NETBIRD_AUTH_AUDIENCE=$CI_NETBIRD_AUTH_AUDIENCE | ||
# URL of the JWT certificates e.g. https://dev-24vkclam.us.auth0.com/.well-known/jwks.json | ||
NETBIRD_AUTH_JWT_CERTS=$CI_NETBIRD_AUTH_JWT_CERTS | ||
# e.g. hello@mydomain.com | ||
NETBIRD_LETSENCRYPT_EMAIL="" |