http://www.keycloak.org/docs/2.5/securing_apps_guide/topics/oidc/oidc-generic.html
curl -d "client_id=portals-api" \
-d "client_secret=989a4668-7166-4a5e-9e62-301c875402a9" \
-d "username=andreas" \
-d "password=pass" \
-d "grant_type=password" \
"http://localhost:8080/auth/realms/collectai/protocol/openid-connect/token"
curl -i -d "client_id=portals-api" \
-d "client_secret=989a4668-7166-4a5e-9e62-301c875402a9" \
-d "username=andreas" \
-d "password=pass" \
-d "token=mytoken" http://localhost:8080/auth/realms/collectai/protocol/openid-connect/token/introspect
curl -i -H "Authorization: Bearer mytoken" http://localhost:8080/auth/realms/collectai/protocol/openid-connect/userinfo
http://localhost:8080/auth/realms/collectai/protocol/openid-connect/auth?scope=portals-api/foobar&response_type=code&client_id=portals-api&redirect_uri=http://localhost:3000