RocketChat / Rocket.Chat.Android

Legacy mobile Rocket.Chat client in Kotlin for Android
https://rocket.chat
MIT License
871 stars 556 forks source link

Multiple issues with custom oauth with standalone server #1996

Open force-net opened 5 years ago

force-net commented 5 years ago

Describe the bug

We're using standalone Rocket.Chat server with custom OAuth, mobile application has next problems with this configuration:

  1. Only one OAuth button is displayed (web version has no problems). It seems, it last OAuth server from list
  2. Instead of 'Custom Button Text', name of OAuth server is displayed
  3. Main issue After pushing button, OAuth login page is displayed, but after login mobile app shows blank screen with 'Authorization' caption. Logs are showing that Rocket.Chat receives /me info from OAuth, but mobile app has no visible changes.

There are no problems with web version, desktop version (Rocket.Chat+) and Mobile Cordova Legacy

Devices and Versions

Rocket.Chat.Android version: 3.2.0 Rocket.Chat Server version: 0.73.2

Mobile device model and OS version: Honor V10, Android 8.0

tiagoefreitas commented 5 years ago

For me after clicking the oauth button the page never loads, shows 3 dots animation. I am using nextcloud provider.

server 0.74.0 app 3.2.0

On ReactNative 1.8.0 the OAuth login doesn't even show, just normal login: https://github.com/RocketChat/Rocket.Chat.ReactNative/issues/270

tiagoefreitas commented 5 years ago

My custom auth for nextcloud opens a popup to grant access, maybe thats what blocks the app from working.

And I'm using a subfolder if that matters, https://url.com/chat

tiagoefreitas commented 5 years ago

This is working correctly in the iOS version, but not in Android...