# OAuth 2.0 Client in Python/Jython scripting (i.e. Gateway events)

**URL:** <https://forum.inductiveautomation.com/t/oauth-2-0-client-in-python-jython-scripting-i-e-gateway-events/75791>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [June 30, 2023, 6:18pm UTC](https://forum.inductiveautomation.com/t/oauth-2-0-client-in-python-jython-scripting-i-e-gateway-events/75791 "2023-06-30T18:18:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Derek\_Rowland](https://avatars.discourse-cdn.com/v4/letter/d/74df32/32.png) [@Derek\_Rowland](https://forum.inductiveautomation.com/u/Derek_Rowland)\
**Post date:** [June 30, 2023, 6:18pm UTC](https://forum.inductiveautomation.com/t/oauth-2-0-client-in-python-jython-scripting-i-e-gateway-events/75791/1 "2023-06-30T18:18:09Z")

</div>

OAuth 2.0 Client was added to Ignition in recent versions. My team has some RESTful APIs we'd like to hit with Ignition data, which are authenticated with OAuth

I have been able to add the OAuth client id and secret in the Config -\> Security -\> OAuth2 Clients menu, but thus far all of the recent threads and articles that I've found have been focused on email integration.

Is the OAuth client accessible from Python scripting, for example in a Gateway Event? Is there any documentation available?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 30, 2023, 6:21pm UTC](https://forum.inductiveautomation.com/t/oauth-2-0-client-in-python-jython-scripting-i-e-gateway-events/75791/2 "2023-06-30T18:21:02Z")

</div>

> [@Derek\_Rowland](#):
>
> Is the OAuth client accessible from Python scripting, for example in a Gateway Event?

No, this functionality is planned, but there's not yet a definitive start date for its implementation work. I'll a link to this forum post to bump/indicate interest.

edit: it _is_ already on the roadmap for Q1 2024

---

<div class="post-metadata">

**Author:** ![andrewdhunt7](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@andrewdhunt7](https://forum.inductiveautomation.com/u/andrewdhunt7)\
**Post date:** [November 21, 2023, 11:03pm UTC](https://forum.inductiveautomation.com/t/oauth-2-0-client-in-python-jython-scripting-i-e-gateway-events/75791/3 "2023-11-21T23:03:33Z")

</div>

Any update on this? We have a similar use case and are looking at whether this is something we could wait on vs alternative solutions such as hosting python 3 as a local service or exposing Java equivalents

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 21, 2023, 11:06pm UTC](https://forum.inductiveautomation.com/t/oauth-2-0-client-in-python-jython-scripting-i-e-gateway-events/75791/4 "2023-11-21T23:06:21Z")

</div>

I wouldn't wait, this no longer appears to be assigned to any quarter on the roadmap.

---

<div class="post-metadata">

**Author:** ![andrewdhunt7](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@andrewdhunt7](https://forum.inductiveautomation.com/u/andrewdhunt7)\
**Post date:** [November 21, 2023, 11:14pm UTC](https://forum.inductiveautomation.com/t/oauth-2-0-client-in-python-jython-scripting-i-e-gateway-events/75791/5 "2023-11-21T23:14:28Z")

</div>

Got it, thanks for the crazy quick response. We'll follow one of the alternatives

---

<div class="post-metadata">

**Author:** ![David\_Lopez](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@David\_Lopez](https://forum.inductiveautomation.com/u/David_Lopez)\
**Post date:** [July 9, 2025, 2:01am UTC](https://forum.inductiveautomation.com/t/oauth-2-0-client-in-python-jython-scripting-i-e-gateway-events/75791/6 "2025-07-09T02:01:51Z")

</div>

Hello Kevin, any updates on this?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 9, 2025, 3:09am UTC](https://forum.inductiveautomation.com/t/oauth-2-0-client-in-python-jython-scripting-i-e-gateway-events/75791/7 "2025-07-09T03:09:53Z")

</div>

Sorry, it's the same as my last update, currently unassigned to roadmap.

Not my area, but I would guess this was an "after 8.3" thing and 8.3 has just taken longer than any of us thought it would.
