MOBILE-2829 mac: Use inappbrowser for SSO in Mac
This commit is contained in:
		
							parent
							
								
									1751d0abdc
								
							
						
					
					
						commit
						336b50cc92
					
				| @ -16,7 +16,5 @@ | |||||||
|     <true/> |     <true/> | ||||||
|     <key>com.apple.security.device.audio-input</key> |     <key>com.apple.security.device.audio-input</key> | ||||||
|     <true/> |     <true/> | ||||||
|     <key>LSMultipleInstancesProhibited</key> |  | ||||||
|     <true/> |  | ||||||
|   </dict> |   </dict> | ||||||
| </plist> | </plist> | ||||||
| @ -561,8 +561,8 @@ export class CoreLoginHelperProvider { | |||||||
|      * @return {boolean} True if embedded browser, false othwerise. |      * @return {boolean} True if embedded browser, false othwerise. | ||||||
|      */ |      */ | ||||||
|     isSSOEmbeddedBrowser(code: number): boolean { |     isSSOEmbeddedBrowser(code: number): boolean { | ||||||
|         if (this.appProvider.isLinux()) { |         if (this.appProvider.isLinux() || this.appProvider.isMac()) { | ||||||
|             // In Linux desktop apps, always use embedded browser.
 |             // In Linux and Mac desktop apps, always use embedded browser.
 | ||||||
|             return true; |             return true; | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user