Skip to content

Commit 6ef85e4

Browse files
Change sample code to use "microsoft.com" instead of string constant, which will be remove soon. (#2501)
1 parent 8a86551 commit 6ef85e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Example/Auth/Sample/MainViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1850,7 +1850,7 @@ - (void)signInGoogleHeadfulLite {
18501850
@brief Invoked when "Sign in with Microsoft (headful-lite)" row is pressed.
18511851
*/
18521852
- (void)signInMicrosoftHeadfulLite {
1853-
FIROAuthProvider *provider = [FIROAuthProvider providerWithProviderID:FIRMicrosoftAuthProviderID];
1853+
FIROAuthProvider *provider = [FIROAuthProvider providerWithProviderID:@"microsoft.com"];
18541854
provider.customParameters = @{
18551855
@"prompt" : @"consent",
18561856
@"login_hint" : @"[email protected]",

0 commit comments

Comments
 (0)