# Okta Javascript Login Widget

**URL:** <https://forum.bubble.io/t/okta-javascript-login-widget/123209>\
**Category:** Questions\
**Created:** [November 28, 2020, 4:42am UTC](https://forum.bubble.io/t/okta-javascript-login-widget/123209 "2020-11-28T04:42:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![footballhono52](https://avatars.discourse-cdn.com/v4/letter/f/65b543/32.png) [@footballhono52](https://forum.bubble.io/u/footballhono52)\
**Post date:** [November 28, 2020, 4:42am UTC](https://forum.bubble.io/t/okta-javascript-login-widget/123209/1 "2020-11-28T04:42:12Z")

</div>

I’m looking to use Bubble for the front end of my app. I have all the API’s built and ready to go. All API’s work off Okta OAuth2. So I’m looking to use the Okta JavaScript login widget provided by Okta.

My question is, can I just embed this in a Bubble application by using the Toolkit plugin to add it to the JavaScript? Or do I need to write my own custom plugin? I’d hate to go the plugin route when Okta has already done all the heavy lifting…

Ha anybody successfully integrated Okta without having to do a bunch of custom work?

[https://developer.okta.com/code/javascript/okta\_sign-in\_widget/](https://developer.okta.com/code/javascript/okta_sign-in_widget/)

---

<div class="post-metadata">

**Author:** ![cmarchan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cmarchan/32/253062_2.png) [@cmarchan](https://forum.bubble.io/u/cmarchan)\
**Post date:** [November 28, 2020, 5:06am UTC](https://forum.bubble.io/t/okta-javascript-login-widget/123209/2 "2020-11-28T05:06:12Z")

</div>

Bubble handles user authentication within. They do make JS inputs available to run custom code … though I really doubt that they would enable user management in this way. Do not know for sure though.

There are various ready-made plugins for oAuth as you probable know:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/9/3/939a151a7bef3dab63f1a6648cd7162688daa2c7.png)  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/0/f/0fa4ff8f9e38010f1a004ea29a825ad2fa357ef1.png)  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/2/2/2263f897fefd6107cf47c43fc4d24129d1f90140.png)

And others …

---

<div class="post-metadata">

**Author:** ![footballhono52](https://avatars.discourse-cdn.com/v4/letter/f/65b543/32.png) [@footballhono52](https://forum.bubble.io/u/footballhono52)\
**Post date:** [November 28, 2020, 2:43pm UTC](https://forum.bubble.io/t/okta-javascript-login-widget/123209/3 "2020-11-28T14:43:58Z")

</div>

Thanks, it sounds like I would need to write my own plug-in

---

<div class="post-metadata">

**Author:** ![helena](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/helena/32/75187_2.png) [@helena](https://forum.bubble.io/u/helena)\
**Post date:** [May 13, 2021, 10:52pm UTC](https://forum.bubble.io/t/okta-javascript-login-widget/123209/4 "2021-05-13T22:52:17Z")

</div>

Curious if you ended up doing this or if you found a simpler way to integrate with OKTA?
