espressif / esp-rainmaker-ios

ESP RainMaker iOS app sources
https://rainmaker.espressif.com/
Apache License 2.0
48 stars 25 forks source link

Disable third party login options #7

Closed bretfrederick-pvmit closed 2 years ago

bretfrederick-pvmit commented 2 years ago

Hello,

I have a private instance of Rainmaker backend deployed in AWS. Everything works well with the iOS app, but I would like to only allow account sign up using e-mail. I would like to disable the Github, Apple, and Google third party identity providers in the iOS sign up screen. How can I do this?

vikas-chandra-mnnit commented 2 years ago

Hi @bretfrederick-pvmit, we have not yet provided the option to make the 3rd party login as optional in the app. However, if you want to disable it you can do it simply by removing the GitHub, Apple, and Google buttons from the UI in the Login.storyboard and removing the associated methods from SignInViewController.swift. Do let us know if you require any additional help in this regard.

bretfrederick-pvmit commented 2 years ago

OK, thanks very much. I'll go the route of changing the storyboard.