graphql-engine icon indicating copy to clipboard operation
graphql-engine copied to clipboard

Restified OpenAPI spec generates only x-hasura-admin-secret header as param

Open iamkhalidbashir opened this issue 2 years ago • 1 comments

According to this:-

https://github.com/hasura/graphql-engine/blob/8aec5057077237635e72de275d17d1a2510d874a/server/src-lib/Hasura/Server/OpenAPI.hs#L446C1-L453

Restified OpenAPI spec has only x-hasura-admin-secret spec, it does not have Authoriztion bearer header output support.

iamkhalidbashir avatar Jul 15 '23 10:07 iamkhalidbashir

Looking forward to this feature too. I want to expose the API, but I'd like to replace x-secret-admin-secret by Authorization to use a Token

joaoCrulhas avatar Jan 17 '24 09:01 joaoCrulhas