# V2 Rest form Authentication

**URL:** <https://community.gravityforms.com/t/v2-rest-form-authentication/11656>\
**Category:** Get Help\
**Tags:** authentication, rest-api\
**Created:** [January 20, 2022, 3:07pm UTC](https://community.gravityforms.com/t/v2-rest-form-authentication/11656 "2022-01-20T15:07:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TankenBak](https://avatars.discourse-cdn.com/v4/letter/t/ecccb3/32.png) [@TankenBak](https://community.gravityforms.com/u/TankenBak)\
**Post date:** [January 20, 2022, 3:07pm UTC](https://community.gravityforms.com/t/v2-rest-form-authentication/11656/1 "2022-01-20T15:07:41Z")

</div>

Hi,  
I’m trying to build NUXT + Gravity form app.  
I tried to use [https://docs.gravityforms.com/rest-api-v2-authentication/#authentication-methods](https://docs.gravityforms.com/rest-api-v2-authentication/#authentication-methods) with cs\_ and ck\_ keys generated in Gravity form REST API → Authentication ( API version 2 )

But connection is failing to authorize.  
I tried the exact setup as in docs using Postman, also Axios setup with customer key and secret. Both failed.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/c/c71a0fa23685bd752d2295397d4fe1e8e0091078.png)

But when I use **User name** instead of **ck\_…**  
and **User pass** instead of **cs\_** … it can get the data from the endpoint with no proble, even if I don’t set any keys in the settings. In both cases - Axios and Postman  
( I can’t add image to proof since I’m new user 😃 )

So my question is: How I can use the key and secret instead of user name and password since the example form doc does not work?  
I don’t want to use user as auth method.

Because I want to limit actions only to be able to send / get form.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [February 19, 2022, 3:08pm UTC](https://community.gravityforms.com/t/v2-rest-form-authentication/11656/2 "2022-02-19T15:08:14Z")

</div>

Closed on February 19, 2022, 3:08pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
