RocketChat / Rocket.Chat.Android

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

android client not honoring custom oauth setting "Button Text" #1687

Open jaytat0 opened 6 years ago

jaytat0 commented 6 years ago

Description

The android client is using the name of the custom auth as the label on the oauth button that appears for login. But there is a configuration in the oauth settings on the server called "Button Text" that should be what is on that button. This works properly on the web client.

For example: a custom oauth is set up at admin/OAuth called "viasatsso". And for the setting Button Text it has "Login to Viasat Connect":

image

On the webclient this ends up looking like this (note: there's some customization in the color in the screenshot):

image

But on the android client the button has the name of the custom oauth ("viasatsso") instead of the Button Text ("Login to Viasat Connect"):

image

tiagoefreitas commented 5 years ago

This works correctly on iOS version.