No refresh and id token


#1

I’m playing around hydra locally and I cannot get it to issue refresh and id tokens, only access tokens. Please help

docker run -it --rm --name=hydra -d -p 4444:4444 -p 4445:4445 \
  -e OAUTH2_SHARE_ERROR_DEBUG=1 \
  -e LOG_LEVEL=debug \
  -e OAUTH2_CONSENT_URL=http://localhost:9001/consent \
  -e OAUTH2_LOGIN_URL=http://localhost:9001/login \
  -e URLS_SELF_ISSUER=http://localhost:4444 \
  -e DSN=memory \
  -e SYSTEM_SECRET=$SYSTEM_SECRET \
  oryd/hydra serve all --dangerous-force-http

  docker exec hydra hydra clients create \
    --skip-tls-verify \
    --endpoint http://localhost:4445 \
    --id blahblahblah \
    --secret hugesecret \
    --response-types token,code,id_token \
    --token-endpoint-auth-method client_secret_post \
    --grant-types authorization_code,refresh_token \
    --scope all \
    --callbacks http://localhost:5001/auth/callback

#2