简体   繁体   中英

AWS Cognito custom login ui

I am currently integrating aws auth / auth ui into my android app , but i can't find way to use my custom login ui, instread of hosted one , i want to use my own layout, button etc . tried to dig into doc , nothing helped me .

Just to mention , i don't want to impleement my own auth for custom backend or anything else, just ui customization.

thanks in advance.

You can use Cognito Userpool's authorization endpoint and Android SDK to implement the same. For Userpool logins, build your custom UI and on login, use the Android SDK to sign in your users. For other providers liek Login with Google or Facebook, use the Authorization endpoint with the correct identity provider specified. See my answer here for login using third-party providers. For Android implementation, check out this sample app (especially MainActivity.java & AppHelper.java).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM