# Custom Identity Provider

**URL:** <https://forum.inductiveautomation.com/t/custom-identity-provider/114891>\
**Category:** Ignition\
**Tags:** perspective, scripting\
**Created:** [April 6, 2026, 1:57am UTC](https://forum.inductiveautomation.com/t/custom-identity-provider/114891 "2026-04-06T01:57:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bgauvey](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bgauvey/32/81947_2.png) [@bgauvey](https://forum.inductiveautomation.com/u/bgauvey)\
**Post date:** [April 6, 2026, 1:57am UTC](https://forum.inductiveautomation.com/t/custom-identity-provider/114891/1 "2026-04-06T01:57:42Z")

</div>

I have created a custom identity provider using OpenID Connect 1.0. Everything is working great. Now I need to grab the access token and send it to a REST API which requires a barer token (JWT) to validate each call. I am using it in a script so I need the token data for the header. I am sure it is there, I can see it when I do a test login. I am using 8.3 if that matters. I just can’t find it. Thanks

---

<div class="post-metadata">

**Author:** ![bgauvey](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bgauvey/32/81947_2.png) [@bgauvey](https://forum.inductiveautomation.com/u/bgauvey)\
**Post date:** [April 10, 2026, 1:35am UTC](https://forum.inductiveautomation.com/t/custom-identity-provider/114891/2 "2026-04-10T01:35:41Z")

</div>

I found the access\_token in the session.props.auth.idpAttributes. My idp returns the token and user info, so that’s good.. I can also refresh the token by calling the /token. Question is if I refresh via a script, will it update the framework so the session will actually refresh too?
