kaltura / kme-sdk-android

Kaltura Meeting Experience SDK for Android
GNU Affero General Public License v3.0
2 stars 2 forks source link

Possibility to login with own API #145

Closed flamyoad closed 3 years ago

flamyoad commented 3 years ago

https://github.com/kaltura/kme-sdk-android/blob/master/user-guide.md#sign-in

 kmeSDK.signInController.login(
    email,
    password,
    success = {
        isLoading.value = false
        loginResponse.value = it.data
    },
    error = {
        isLoading.value = false
        loginError.value = it.message
    }
 )

Is it possible to replace the logging in with Kaltura email & password with the session token or virtual meeting room URL?

This is because in our app we have our own API for logging in, we only want to leverage KME SDK for the video call capabilities. However the SDK requires us to login with Kaltura email & password.

kaltura-hooks commented 3 years ago

Hi @flamyoad,

Thank for you reporting an issue and helping improve Kaltura!

To get the fastest response time, and help the maintainers review and test your reported issues or suggestions, please ensure that your issue includes the following (please comment with more info if you have not included all this info in your original issue):

For general troubleshooting see: https://github.com/kaltura/platform-install-packages/blob/Jupiter-10.13.0/doc/kaltura-packages-faq.md#troubleshooting-help

If you only have a general question rather than a bug report, please close this issue and post at: http://forum.kaltura.org

Thank you in advance,

roeiki11 commented 3 years ago

we already added this functionality, please see: override fun login( token: String, success: () -> Unit, error: (exception: KmeApiException) -> Unit )

flamyoad commented 3 years ago

Where to get the token though? Is it https://github.com/kaltura-vpaas/virtual-meeting-rooms#creating-a-kaltura-session? Or by using the Newrow Smart LTI integration?