# Looking for JWT pre-script for google.com

**URL:** <https://community.postman.com/t/looking-for-jwt-pre-script-for-google-com/51737>\
**Category:** Help Hub\
**Tags:** tests, jwt\
**Created:** [September 13, 2023, 8:02pm UTC](https://community.postman.com/t/looking-for-jwt-pre-script-for-google-com/51737 "2023-09-13T20:02:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fsung2023](https://avatars.discourse-cdn.com/v4/letter/f/46a35a/32.png) [@fsung2023](https://community.postman.com/u/fsung2023)\
**Post date:** [September 13, 2023, 8:02pm UTC](https://community.postman.com/t/looking-for-jwt-pre-script-for-google-com/51737/1 "2023-09-13T20:02:47Z")

</div>

Looking for the JWT pre-script to get the [google.com](http://google.com) JWT token for personal account.

Thanks.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [September 13, 2023, 8:06pm UTC](https://community.postman.com/t/looking-for-jwt-pre-script-for-google-com/51737/2 "2023-09-13T20:06:17Z")

</div>

Hey @fsung2023

Can you expand on this more and explain the usecase. I’m unable to understand which part of google you’re referring too 🤔

Is this JWT pre-script something you’ve seen or are you trying to create one?

Where have you looked so far?

---

<div class="post-metadata">

**Author:** ![fsung2023](https://avatars.discourse-cdn.com/v4/letter/f/46a35a/32.png) [@fsung2023](https://community.postman.com/u/fsung2023)\
**Post date:** [September 13, 2023, 8:22pm UTC](https://community.postman.com/t/looking-for-jwt-pre-script-for-google-com/51737/3 "2023-09-13T20:22:53Z")

</div>

Hi Danny,

From [https://www.youtube.com/watch?v=dLxCpd3IGys](https://www.youtube.com/watch?v=dLxCpd3IGys) the pre-request script seemed available for fetching JWT accessing [postman-echo.com](http://postman-echo.com). And thinking to modify for [goole.com](http://goole.com) access.

Regards,  
Frank Sung

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [September 13, 2023, 9:28pm UTC](https://community.postman.com/t/looking-for-jwt-pre-script-for-google-com/51737/4 "2023-09-13T21:28:54Z")

</div>

That was an _example_ of how a JWT could be created in a pre-request script.

It was using the Postman Echo Service to demonstrate the solution using a practice endpoint.

The Collection being used in the demo is contained within this Public Workspace.

[https://www.postman.com/postman/workspace/published-postman-templates/collection/4630964-f87288e7-4066-430b-b400-1c1a2a83d740?action=share&source=copy-link&creator=9838020](https://www.postman.com/postman/workspace/published-postman-templates/collection/4630964-f87288e7-4066-430b-b400-1c1a2a83d740?action=share&source=copy-link&creator=9838020)

I’m still not fully understanding the “access [google.com](http://google.com)” part of your question.

---

<div class="post-metadata">

**Author:** ![fsung2023](https://avatars.discourse-cdn.com/v4/letter/f/46a35a/32.png) [@fsung2023](https://community.postman.com/u/fsung2023)\
**Post date:** [September 13, 2023, 10:43pm UTC](https://community.postman.com/t/looking-for-jwt-pre-script-for-google-com/51737/5 "2023-09-13T22:43:57Z")

</div>

Hi Danny,

Thanks. I found it and it works.

Regards,  
Frank Sung

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [September 14, 2023, 6:07am UTC](https://community.postman.com/t/looking-for-jwt-pre-script-for-google-com/51737/6 "2023-09-14T06:07:39Z")

</div>

Closed on September 14, 2023, 6:07am UTC


