# Migrate application from jwt to oauth

**URL:** <https://devforum.zoom.us/t/migrate-application-from-jwt-to-oauth/93802>\
**Category:** Authentication\
**Created:** [August 22, 2023, 7:55pm UTC](https://devforum.zoom.us/t/migrate-application-from-jwt-to-oauth/93802 "2023-08-22T19:55:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ronaldocuevasgarcia](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ronaldocuevasgarcia/32/35657_2.png) [@ronaldocuevasgarcia](https://devforum.zoom.us/u/ronaldocuevasgarcia)\
**Post date:** [August 22, 2023, 7:55pm UTC](https://devforum.zoom.us/t/migrate-application-from-jwt-to-oauth/93802/1 "2023-08-22T19:55:40Z")

</div>

Good afternoon, sorry, I received an email to migrate from jwt to Oauth, but I can’t find documentation to make this change in ionic, at the time you will provide me with an sdk so that the calls will work in ionic, could you help me

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 23, 2023, 12:41am UTC](https://devforum.zoom.us/t/migrate-application-from-jwt-to-oauth/93802/2 "2023-08-23T00:41:56Z")

</div>

@ronaldocuevasgarcia ,

Please note that ionic is out of support, anything provided here is best effort.

Were you using previously using the JWT token for REST API call?

Here are some things to take note

- For the SDK authentication, you will need a Meeting SDK App
- For REST API, you will need an OAuth or S2S OAuth App.
- The current minimum version of SDK support is 5.12.2. The last version of ionic provided was bundled with 5.7.6

---

<div class="post-metadata">

**Author:** ![ronaldocuevasgarcia](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ronaldocuevasgarcia/32/35657_2.png) [@ronaldocuevasgarcia](https://devforum.zoom.us/u/ronaldocuevasgarcia)\
**Post date:** [August 23, 2023, 5:00pm UTC](https://devforum.zoom.us/t/migrate-application-from-jwt-to-oauth/93802/3 "2023-08-23T17:00:31Z")

</div>

I use jwt rest api, so how can I continue creating sessions in ionic ? or can it no longer be done?

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 24, 2023, 11:19am UTC](https://devforum.zoom.us/t/migrate-application-from-jwt-to-oauth/93802/4 "2023-08-24T11:19:16Z")

</div>

You can no longer create meetings within the SDK

1. REST API to do things such as Create Meeting: Use **OAuth App Type** or **Server to Server OAuth App Type**
2. SDK Authentication: Use **Meeting SDK App Type** , Client ID and Client Secret
3. Minimum Version: You need to use SDK Versions 5.12.2 and above, if not it will not work.

---

<div class="post-metadata">

**Author:** ![ronaldocuevasgarcia](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ronaldocuevasgarcia/32/35657_2.png) [@ronaldocuevasgarcia](https://devforum.zoom.us/u/ronaldocuevasgarcia)\
**Post date:** [August 24, 2023, 8:24pm UTC](https://devforum.zoom.us/t/migrate-application-from-jwt-to-oauth/93802/5 "2023-08-24T20:24:15Z")

</div>

ok I understand, I will change the sdk in my native android app, when installing the sdk 5.12.2.9109 I get the following error Unable to instantiate appComponentFactory  
java.lang.ClassNotFoundException: Didn’t find class “androidx.core.app.CoreComponentFactory” on path: DexPathList[,nativeLibraryDirectories=[/data/app/com.labsteck.doctor.clinics.ocket-3GrvjwPmygk8W8jVOTbrjA==/ lib/x86, /data/app/com.labsteck.doctor.clinics.ocket-3GrvjwPmygk8W8jVOTbrjA==/base.apk!/lib/x86, /system/lib, /system/product/lib]]  
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:196)  
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)  
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)  
at android.app.LoadedApk.createAppFactory(LoadedApk.java:256)  
at android.app.LoadedApk.updateApplicationInfo(LoadedApk.java:370)  
at android.app.ActivityThread.handleDispatchPackageBroadcast(ActivityThread.java:5951)  
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1941)  
at android.os.Handler.dispatchMessage(Handler.java:107)  
at android.os.Looper.loop(Looper.java:214)  
at com.android.server.SystemServer.run(SystemServer.java:541)  
at com.android.server.SystemServer.main(SystemServer.java:349)  
at java.lang.reflect.Method.invoke(Native Method)  
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)  
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:908)

I attach the configuration of my graddle  
plugins {  
id ‘com.android.application’  
}

android {  
compileSdk 31  
buildToolsVersion “30.0.3”

```
 defaultConfig {
     applicationId "com.labsteck.doctor.clinics.ocket"
     minSdkVersion 26
     targetSdkVersion 31
     versionCode 1
     versionName "1.0"

     testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
 }

 buildTypes {
     release {
         minifyEnabled false
         proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
     }
 }
 compileOptions {
     sourceCompatibility JavaVersion.VERSION_1_8
     targetCompatibility javaVersion.VERSION_1_8
 }

```

}

dependencies {

```
 implementation 'androidx.multidex:multidex:2.0.1'
 implementation 'androidx.recyclerview:recyclerview:1.0.0'

 implementation 'com.google.code.gson:gson:2.8.7'
 implementation 'androidx.appcompat:appcompat:1.3.0'
 implementation 'com.google.android.material:material:1.3.0'
 implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
 implementation 'com.github.nkzawa:socket.io-client:0.3.0'
 implementation 'com.android.volley:volley:1.1.0'
 testImplementation 'junit:junit:4.+'
 androidTestImplementation 'androidx.test.ext:junit:1.1.3'
 androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
 implementation 'com.airbnb.android:lottie:5.0.3'
 implementation project(":commonlib")
 implementation project(":mobilertc")
 implementation 'androidx.work:work-runtime-ktx:2.7.0'

```

}

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 25, 2023, 1:53am UTC](https://devforum.zoom.us/t/migrate-application-from-jwt-to-oauth/93802/6 "2023-08-25T01:53:43Z")

</div>

@ronaldocuevasgarcia ,

I’m not able to help with the upgrading as we do not support ionic anymore.
