# Programmatically open Request Identity Link modal?

**URL:** <https://staging-discuss.dev.twitch.com/t/programmatically-open-request-identity-link-modal/12106>\
**Category:** Extensions\
**Created:** [September 21, 2017, 4:34am UTC](https://staging-discuss.dev.twitch.com/t/programmatically-open-request-identity-link-modal/12106 "2017-09-21T04:34:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebdev](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@sebdev](https://staging-discuss.dev.twitch.com/u/sebdev)\
**Post date:** [September 21, 2017, 4:34am UTC](https://staging-discuss.dev.twitch.com/t/programmatically-open-request-identity-link-modal/12106/1 "2017-09-21T04:34:03Z")

</div>

Is it possible to trigger the modal window that ask the user to grant permission to reveal his twitch ID, from the extension it self, instead of relying on the user to click to the bottom right icon ?  
 ![45 pm](https://d1d6mrmdu7ztse.cloudfront.net/uploads/default/original/2X/4/4c4e7e81caa64b470457ebc4e69ee17803995eea.png)  
I can see a lot of extension showing screenshots to the user to tell them what to do to authorise revealing the twitch ID. It might be good to reduce login friction.

thanks  
-seb

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [September 22, 2017, 8:13am UTC](https://staging-discuss.dev.twitch.com/t/programmatically-open-request-identity-link-modal/12106/2 "2017-09-22T08:13:12Z")

</div>

> [@sebdev](#):
>
> Is it possible to trigger the modal window that ask the user to grant permission to reveal his twitch ID, from the extension it self, instead of relying on the user to click to the bottom right icon ?

Whats to stop you auto clicking the Grant button then 😛

I do this:

 ![image](https://d1d6mrmdu7ztse.cloudfront.net/uploads/default/original/2X/6/62fc0d9f0ba0ba6c033def1dcad111f8cb61888c.jpg)

---

<div class="post-metadata">

**Author:** ![bbatra](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/bbatra/32/4618_2.png) [@bbatra](https://staging-discuss.dev.twitch.com/u/bbatra)\
**Post date:** [June 4, 2018, 8:28am UTC](https://staging-discuss.dev.twitch.com/t/programmatically-open-request-identity-link-modal/12106/3 "2018-06-04T08:28:21Z")

</div>

This would be an excellent ability to have. Currently there is a dependency on the twitch design for developers to prompt users, however adding this ability would separate concerns so that any UI changes from the twitch side will not need an update to extension UI.

---

<div class="post-metadata">

**Author:** ![Altoar](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/altoar/32/21452_2.png) [@Altoar](https://staging-discuss.dev.twitch.com/u/Altoar)\
**Post date:** [June 4, 2018, 9:59am UTC](https://staging-discuss.dev.twitch.com/t/programmatically-open-request-identity-link-modal/12106/4 "2018-06-04T09:59:32Z")

</div>

You can do this with requestIdShare() now [https://dev.twitch.tv/docs/extensions/reference/#twitch-actions](https://dev.twitch.tv/docs/extensions/reference/#twitch-actions)

---

<div class="post-metadata">

**Author:** ![bbatra](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/bbatra/32/4618_2.png) [@bbatra](https://staging-discuss.dev.twitch.com/u/bbatra)\
**Post date:** [June 4, 2018, 3:43pm UTC](https://staging-discuss.dev.twitch.com/t/programmatically-open-request-identity-link-modal/12106/5 "2018-06-04T15:43:57Z")

</div>

Thanks so much - exactly what I was looking for!
