How to make authentication for GQL using Mutation

Hello everyone. I am quite new in retool and looking for your help. As written in Custom API authentication, to perform authentication we can add a form including all the required data for login, and then make a call. So the question is -Is it possible to make a mutation in this step and not an API call?

Hey mrFeroyan! Thanks for reaching out. The custom authentication flow is designed to authenticate the user. You can use these steps to ensure that the user has the appropriate credentials to use the resource and then build a query into the app that would make the mutation. Unfortunately, you cannot make the mutation as part of the authentication work flow.

1 Like