Introduction
Hey、私はMichaelです(WcaleNieWolny) 👋,
After a month of hard (and a bit painful 🙃) work, I am pleased to announce the first release of the Capacitor Social Login. This plugin is designed to assist in handling both Google and Apple Login on iOS and Android. Furthermore, together with Martin, we have been working on some unique features that include:
- AppleのAndroidでのログインの導入
- Googleのクレデンシャルに新しいAPIを採用
- 詳細なドキュメントの追加
AppleのAndroidでのログイン
まず、AndroidでAppleのログインの主な革新について話してみましょう。この機能はAppleのSDKが提供していないため、非凡なものでした。私は この記事 を参考にしましたが、少し変更してセキュリティを高めました。最終的に得た流れは次のようになりました:
残念ながら、バックエンドとアプリの変更が必要です code。
Android用のGoogleログインを更新しました。
次に、Android用のGoogleログインを実装しようとしました。実際には CodetrixStudioのCapacitorGoogleAuth 使用しているのは すぐに廃止されるGMSライブラリです。GMSライブラリが廃止予定であるため、 CredentialManagerを使用しました。これによりログインフローが簡素化され、 エラー10 🎉
がなくなりました。
ドキュメントはこちらです。 例のバックエンド Apple ログインのための
ぜひ以下の Apple と Google のガイドをご確認ください!
まとめ
In conclusion, the Capacitor Social Login plugin introduces a lot of new and exciting features with more to come in the future 🚀
Keep going from Release of a brand new Capacitor Social Login plugin
CapgoのSocialログインプラグインを使用している場合 Release of a brand new Capacitor Social Login plugin 認証とアカウントフローの計画に役立つため、接続する @capgo/capacitor-social-login for the implementation detail in @capgo/capacitor-social-login, @capgo/capacitor-passkey for the implementation detail in @capgo/capacitor-passkey, @capgo/capacitor-native-biometric for the implementation detail in @capgo/capacitor-native-biometric, 2要素認証 2要素認証の実装詳細については、 SSO (Enterprise) SSO (Enterprise)の実装詳細については。