Initialize library
Add the following lines to your Android project source code:
Copy
- kotlin
1val loginConfig = LoginConfig.OauthBuilder()
2 .setProjectId("login-project-id")
3 .setOauthClientId("oauth2-client-id")
4 .build()
5
6XLogin.init(applicationContext, loginConfig)
Was this article helpful?
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.Continue reading
Last updated: July 9, 2025Found a typo or other text error? Select the text and press Ctrl+Enter.