Auth0 Home Blog Docs

could not patch client to support firebase addon with grant type id_token

id_token
oidc-conformant
client_grant
firebase-addon

#1

We tried to patch our newly created client to work with the firebase addon
like this (suggested by https://community.auth0.com/questions/4897/error-grant-type-httpauth0comoauthlegacygrant-type )
– and it DIDN’T WORK (ADMIN is an “all-allowed” auth0-admin-api token )

curl -X PATCH \
 -H 'Content-Type: application/json' \
 -H "Authorization: Bearer $ADMIN" \
 https://****.eu.auth0.com/api/v2/clients/D*** -d\
 '{ "grant_types": "authorization_code","implicit","refresh_token", "http://auth0.com/oauth/legacy/grant-type/delegation/id_token"] }'

--> {"statusCode":400,"error":"Bad Request","message":"Invalid grant types: http://auth0.com/oauth/legacy/grant-type/delegation/id_token"}

Is there any chance to add the missing legacy grant_types?


#2

This situation was handled through a different support channel so I’ll be closing this question. As a summary, legacy grant types are not available by default for tenants created after the cut-off date, however, in some scenarios where a customer has multiple tenants and some were already using the functionality it may be possible to enable the legacy grant types even on a new tenant. However, this is analyzed on a case by case basis and only as a last resort measure.


#3