Uh oh!
There was an error while loading. Please reload this page.
feat: Provider Models (AuthProvider + concrete types) - #2223
Conversation
| * which is required for security when upgrading anonymous users. Defaults to true. | ||
| */ | ||
| val isEmailLinkForceSameDeviceEnabled: Boolean = true, |
There was a problem hiding this comment.
this was a requirement and a config validation in the old auth library for EmailAuthProvider. When anonymous upgrade is enabled and email link is enabled, you must force same device for security purposes. here
Uh oh!
There was an error while loading. Please reload this page.
| ) | ||
| ) { | ||
| fun validate(context: Context) { | ||
| // TODO(demolaf): do we need this? since we are requesting this in AuthProvider.Google? |
There was a problem hiding this comment.
do we need to validate missing server client id?
There was a problem hiding this comment.
Was the validation done on the current version of the library?
There was a problem hiding this comment.
Yes but if you look reference in current version, when serverClientId is missing throws if not found during actual use.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- validate serverClientId empty string - validate applicationId empty string - remove @test(expected=) not descriptive - tests covering AuthProviders Google and Facebook config validation
Uh oh!
There was an error while loading. Please reload this page.