# Migrate to OAuth

**URL:** <https://hub.soprani.ca/t/migrate-to-oauth/632>\
**Category:** Issues\
**Tags:** jmp-pay, sgx-jmp, sgx-bwmsgsv2\
**Created:** [December 18, 2025, 5:34pm UTC](https://hub.soprani.ca/t/migrate-to-oauth/632 "2025-12-18T17:34:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![amolith](https://hub.soprani.ca/user_avatar/hub.soprani.ca/amolith/32/12_2.png) [@amolith](https://hub.soprani.ca/u/amolith)\
**Post date:** [December 18, 2025, 5:34pm UTC](https://hub.soprani.ca/t/migrate-to-oauth/632/1 "2025-12-18T17:34:49Z")

</div>

> After December 2, 2026, Basic Auth API Users will no longer function.

---

<div class="post-metadata">

**Author:** ![amolith](https://hub.soprani.ca/user_avatar/hub.soprani.ca/amolith/32/12_2.png) [@amolith](https://hub.soprani.ca/u/amolith)\
**Post date:** [February 23, 2026, 5:08pm UTC](https://hub.soprani.ca/t/migrate-to-oauth/632/2 "2026-02-23T17:08:27Z")

</div>

> March 31, 2026 is the final date to create any new legacy Basic Auth API Users. Effective April 1, 2026, all new integrations must use OAuth 2.0.
> 
> Effective July 1, 2026 you will no longer be able to edit or update existing legacy API Users, and by December 2, 2026 all legacy Basic Auth API Users will be fully deprecated and will stop functioning.

---

<div class="post-metadata">

**Author:** ![amolith](https://hub.soprani.ca/user_avatar/hub.soprani.ca/amolith/32/12_2.png) [@amolith](https://hub.soprani.ca/u/amolith)\
**Post date:** [February 23, 2026, 6:48pm UTC](https://hub.soprani.ca/t/migrate-to-oauth/632/3 "2026-02-23T18:48:14Z")

</div>

Looks like jmp-pay and jmp-fwdcalls also use Basic Auth

---

<div class="post-metadata">

**Author:** ![amolith](https://hub.soprani.ca/user_avatar/hub.soprani.ca/amolith/32/12_2.png) [@amolith](https://hub.soprani.ca/u/amolith)\
**Post date:** [February 23, 2026, 9:43pm UTC](https://hub.soprani.ca/t/migrate-to-oauth/632/4 "2026-02-23T21:43:46Z")

</div>

subtickets

- ~~sgx-jmp: [https://soprani.ca/todo/566~~](https://soprani.ca/todo/566~~) done
- sgx-bwmsgsv2: [Migrate from Basic Auth to OAuth - Issues - Sopranica](https://soprani.ca/todo/565)
- ~~jmp-pay: [https://soprani.ca/todo/567~~](https://soprani.ca/todo/567~~) done
- ~~jmp-fwdcalls: [https://soprani.ca/todo/568~~](https://soprani.ca/todo/568~~) legacy and going away

---

<div class="post-metadata">

**Author:** ![amolith](https://hub.soprani.ca/user_avatar/hub.soprani.ca/amolith/32/12_2.png) [@amolith](https://hub.soprani.ca/u/amolith)\
**Post date:** [February 24, 2026, 11:02pm UTC](https://hub.soprani.ca/t/migrate-to-oauth/632/5 "2026-02-24T23:02:28Z")

</div>

It was mentioned that we’d prefer a long-lived `Bearer` token, but based on these pages, it seems like we’re _required_ to use the Client ID and Client Secret via Basic Auth to obtain a short-lived `Bearer` token that’s only valid for some period, then we need to obtain a new `Bearer` token again using Basic Auth before the previous token expires.

- [https://dev.bandwidth.com/docs/account/credentials/migration](https://dev.bandwidth.com/docs/account/credentials/migration)
- [https://dev.bandwidth.com/docs/account/credentials/management](https://dev.bandwidth.com/docs/account/credentials/management)
- [https://dev.bandwidth.com/apis/account-management-apis/authentication/](https://dev.bandwidth.com/apis/account-management-apis/authentication/)
- [https://www.bandwidth.com/support/en/articles/13004306-creating-and-managing-your-bandwidth-api-credentials](https://www.bandwidth.com/support/en/articles/13004306-creating-and-managing-your-bandwidth-api-credentials)

---

<div class="post-metadata">

**Author:** ![amolith](https://hub.soprani.ca/user_avatar/hub.soprani.ca/amolith/32/12_2.png) [@amolith](https://hub.soprani.ca/u/amolith)\
**Post date:** [February 26, 2026, 7:41pm UTC](https://hub.soprani.ca/t/migrate-to-oauth/632/6 "2026-02-26T19:41:23Z")

</div>

I was concerned that we’d have to upgrade bwmsgsv2 to Ruby 3 to get bandwidth-iris v7.4.0’s OAuth, but it looks like none of the dependency versions bundler will backsolve to on Ruby 2.6 require or use anything from Ruby 3. So it seems we can go ahead and upgrade bandwidth-iris in bwmsgsv2 all the way to v7.4.0 to get the new OAuth stuff.

---

<div class="post-metadata">

**Author:** ![singpolyma](https://hub.soprani.ca/user_avatar/hub.soprani.ca/singpolyma/32/11_2.png) [@singpolyma](https://hub.soprani.ca/u/singpolyma)\
**Post date:** [March 29, 2026, 5:24pm UTC](https://hub.soprani.ca/t/migrate-to-oauth/632/7 "2026-03-29T17:24:59Z")

</div>

Need to also consider the proxies in /etc/nginx/sites-available/jmp.chat

Maybe we can have an internal endpoint that returns the token header and use auth\_request\_set $auth\_header $upstream\_http\_authorization; otherwise we probably need our own trivial proxy like we used to have.

---

<div class="post-metadata">

**Author:** ![singpolyma](https://hub.soprani.ca/user_avatar/hub.soprani.ca/singpolyma/32/11_2.png) [@singpolyma](https://hub.soprani.ca/u/singpolyma)\
**Post date:** [November 18, 2026, 4:06pm UTC](https://hub.soprani.ca/t/migrate-to-oauth/632/8 "2026-11-18T16:06:28Z")

</div>


