1. Open terminal and go to the Supervisely configs folder
$ cd $(sudo supervisely where)
2. Create openid.yml
file with external service credentials
<provider_name>:metadata_url: <metada_url>client_id: <client_id>client_secret: <client_secret># optionalhttp_proxy: <proxy url>https_proxy: <proxy url>
3. Create docker-compose.override.yml
file
version: '2.2'services:api:environment:DOMAIN: <https_instance_domain>volumes:- <path_to_folder>/openid.yml:/openid.yml:ro
4. Execute following command
$ sudo supervisely up -d
5. Go to your authorization service and add new redirect (callback) URI <https_instance_domain>/api/account/auth/<provider_name>/callback
where:
https_instance_domain - domain, that you specified in docker-compose.override.yml
provider_name - name, that you specified in openid.yml
First you need to register app and configure web API access.
On Add redirect URI(s) step add new URI <https_instance_domain>/api/account/auth/microsoft/callback
microsoft:metadata_url: https://login.microsoftonline.com/568427e8-****-****-****-************/.well-known/openid-configurationclient_id: 7006e956-****-****-****-************client_secret: j2Hy-***************************
version: '2.2'services:api:environment:DOMAIN: https://app.supervise.lyvolumes:- <path_to_folder>/openid.yml:/openid.yml:ro
1. Open terminal and go to the Supervisely configs folder
$ cd $(sudo supervisely where)
2. Create docker-compose.override.yml
file
version: '2.2'services:api:environment:LDAP_SERVER_URL: <server_url>LDAP_BIND_DN: <bind_dn>LDAP_DN_CREDENTIALS: <password_for_bind_dn>LDAP_SEARCH_FILTER: <search_filter>LDAP_SEARCH_BASE: <search_base>
3. Execute the following command
$ sudo supervisely up -d
version: '2.2'services:api:environment:LDAP_SERVER_URL: ldap://example:389LDAP_BIND_DN: cn=rootLDAP_DN_CREDENTIALS: secretLDAP_SEARCH_FILTER: (uid={{username}})LDAP_SEARCH_BASE: dc=example, dc=org