# Oauth2 Node error

**URL:** https://discourse.nodered.org/t/oauth2-node-error/75898
**Category:** General
**Created:** [28 February 2023 23:04 UTC](https://discourse.nodered.org/t/oauth2-node-error/75898 "2023-02-28T23:04:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Byteman](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@Byteman](https://discourse.nodered.org/u/Byteman)
#### Post date: [28 February 2023 23:04 UTC](https://discourse.nodered.org/t/oauth2-node-error/75898/1 "2023-02-28T23:04:38Z")

</div>

Hello,

I am trying to use Node-Red-contrib-oauth2 following their example.

I imported their example nodes and I am running the second flow.

* * *

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/c/1c8dbe6e89e303ead97c874ce01c8b4d9fc2e580.png)

* * *

 ![Screenshot 1-](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/e/ae402012fd6bc653f7302947cc4ca3aaf2f70c2a.jpeg)

* * *

 ![Screenshot 2-](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/7/478b3a35af8e6f6e5e1ea66f239324e9faed0911.jpeg)

I changed all the parameters accordingly as per instructions in documentation;  
however, when trying to run I am getting error "ReferenceError: https is not defined".

I have reviewed my parameters and they all seem to be OK.

Any help would be appreciated.

Thank you.

---

<div class="post-metadata">

### Author: ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)
#### Post date: [28 February 2023 23:24 UTC](https://discourse.nodered.org/t/oauth2-node-error/75898/2 "2023-02-28T23:24:08Z")

</div>

Hi,  
Only HTTP request is supported, read [this](https://github.com/caputomarcos/node-red-contrib-oauth2#references).

---

<div class="post-metadata">

### Author: ![Byteman](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@Byteman](https://discourse.nodered.org/u/Byteman)
#### Post date: [28 February 2023 23:43 UTC](https://discourse.nodered.org/t/oauth2-node-error/75898/3 "2023-02-28T23:43:52Z")

</div>

Oops, I missed that completely.

Thank you

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [29 April 2023 23:44 UTC](https://discourse.nodered.org/t/oauth2-node-error/75898/4 "2023-04-29T23:44:02Z")

</div>

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