How to use Kakao for SSO on Android and iOS Flutter apps with Firebase

다니엘·2023년 12월 22일
0

Firebase Login

목록 보기
2/2
post-thumbnail

0. Content

This guide is specific for those developing apps with Firebase (Google Cloud also works directly, but I will continue to refer to Firebase) and having Firebase handle authentication.

Kakao is much easier to integrate than Naver, because both Flutterfire and Kakao support OIDC (an extension of OAuth).

1. Add Application, enable Login and OIDC

2. Add Kakao as an Authentication Provider

3. Write the Flutter code

final provider = OAuthProvider('oidc.kakao');
UserCredential kakaoUser = await FirebaseAuth.instance.signInWithProvider(provider);
profile
Full Stack Developer

0개의 댓글

관련 채용 정보