eager-apartment-94496
09/22/2025, 8:11 PMcurl -X POST "<https://myslug.projects.oryapis.com/oauth2/token>" -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer" -d "scope=read" -d "assertion=Google idToken"
But every call I make fail with:
"The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. Client credentials missing or malformed in both HTTP Authorization header and HTTP POST body."
There is an additional thing I do not understand (most likely both are linked)
Doc also state that I need to establish trust relationship by providing the Issuer (here "https://accounts.google.com) and the jwk. But why do I need to provide JWK? Is not the purpose of JWT is to dynamically provide the key id? If/when google will update its key id, do I need to re establish a new trust?steep-lamp-91158
eager-apartment-94496
09/23/2025, 1:17 PMeager-apartment-94496
09/23/2025, 1:38 PMsteep-lamp-91158
eager-apartment-94496
09/23/2025, 2:12 PM