In cross-platform application development (such as Mind Elixir Client built on Tauri), how to smoothly obtain authorization from the Web side and complete the login for the application is often a common and important requirement. This article will summarize the two login implementation methods we explored in this Tauri project and share a very classic pitfall we encountered when developing on macOS.