#!/bin/sh set -e BROWSER="w3m" if [ -n "${DEBUG}" ]; then set -x BROWSER="xdg-open" fi curl http://idp.example.com:8080/saml/metadata.xml curl http://idp.example.com:8080/.well-known/openid-configuration curl http://idp.example.com:8080/.well-known/oauth-authorization-server curl http://idp.example.com:8080/.well-known/webfinger curl http://ui.example.com:8080/saml/metadata.xml $BROWSER http://ui.example.com:8080/saml/new $BROWSER http://ui.example.com:8080/oidc/new curl http://api.example.com:8080/projects.json curl -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2YmYxZTlmMy02OGIwLTQ4NmYtOGVlZi0wODFmZTg2YjJlODMiLCJpYXQiOjE3NDEyOTAzMzJ9.e30=' -XPOST http://api.example.com:8080/projects --data '{"name": "gitlab"}' curl http://api.example.com:8080/projects.json