Closed tomkcey closed 2 years ago
Tested. Works when calling the Hydra public endpoint. The nlu scope is added by the Cloud on client creation, the Studio that scope in the token.
nlu
$ curl -X POST \ -H "Content-Type: application/x-www-form-urlencoded" \ -d"client_id=<client_id>&client_secret=<client_secret>&grant_type=client_credentials&scope=nlu" \ http://127.0.0.1:4444/oauth2/token {"access_token":"<redacted>","expires_in":3599,"scope":"nlu","token_type":"bearer"}
Tested. Works when calling the Hydra public endpoint. The
nlu
scope is added by the Cloud on client creation, the Studio that scope in the token.