# disable check https (DO NOT SET THIS IN PRODUCTION)
$ export AUTHLIB_INSECURE_TRANSPORT=1
$ docker compose up -d
$ flask run
- replace $APP with app name. Ex:
client_name: app_download
- replace $APP_HOSTNAME with hostname of where app is deployed. Ex:
client_uri: app.company.com
- run the below command in the host where Signet is running. Adjust the IP to the ip of the docker container running the Signet server
curl --request POST \
--url http://172.19.1.2:5001/create_client \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data client_name=$APP_download \
--data scope=download_file \
--data client_uri=$APP_HOSTNAME \
--data token_endpoint_auth_method=client_secret_basic \
--data grant_type=client_credentials
curl --request GET \
--url https://<hostname>/oauth/jwks