--- title: "User Login" url: https://docs.catalyst.zoho.com/en/sdk/ios/v2/cloud-scale/authentication/user-login/ description: "You can display the login page to the end user of your Catalyst iOS app." last_updated: 2023-09-02T19:36:41Z service: Cloud Scale type: general related_links: - name: "Authentication" url: /en/cloud-scale/help/authentication/introduction - name: "Users" url: /en/cloud-scale/help/authentication/user-management/users/introduction/ - name: "Authentication - API" url: /en/api/code-reference/cloud-scale/authentication/add-new-user/#AddNewUser --- # User Login You can display the login page to the [end user](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/user-management/users/introduction/) of your Catalyst iOS app using the `showLogin()` method. This will be displayed when the user is logged out of the app. If the login is successful, the user will be able to access the app. The code syntax for user login is given below: ```bash ZCatalystApp.shared.showLogin( completion : @escaping ( Error? ) -> Void ) ViewController.swift ``` **Parameters**: * `completion`: The completion block will be passed with an error if the login was unsuccessful.