Authorization issue when schema is updated via /admin/schema?

Hi @pawan,

Wow, sorry to waste your time on my lame CURL comprehension. Thanks for hunting this down for me…

It does bring up a point that I think this issue illustrated. The declaration of the JWKS credentials or endpoint (#Dgraph Auth....) probably doesn’t belong in the SDL this way, relying on newlines to be present to parse correctly.

I know there was some talk of moving authz control to the /admin endpoint. Definitely would help with this and would ease testing and staging, where now manipulating the SDL in CI is required for the jwks URL to point to the correct location.

2 Likes