導入
こんにちは、私はマイケルです(WcaleNieWolny) 👋,
1か月間の頑張った(そして少し苦痛な😊)仕事の後、Capacitor Social Loginの最初のリリースを発表することができて嬉しいです。このプラグインは、iOSとAndroidでGoogleとAppleログインを取り扱うことを目的として設計されています。また、マーティンと一緒に、以下のようなユニークな機能を開発しています:
- Android上でのAppleログインの導入
- 新しいGoogleクレデンシャルAPIの採用
- 詳細なドキュメントの追加
Android上でのAppleログイン
まず、Android上でのAppleログインの主な革新について議論してみましょう。このことは、AppleのSDKがこの機能を提供していないため、非凡なものでした。私はこの記事 を参考にしましたが、セキュリティ上の理由で少し変更しました。最終的に得た流れは次のようになりました。 Appleログインフローチャート
Unfortunately, it requires a backend and some modifications to your’s app code, but it’s the best I could do.
次に、Android上でのGoogleログインを実装しようとしました。実際には
CodetrixStudioのCapacitorGoogleAuth Android上でのGoogleログインの採用 uses a soon-to-be deprecated GMS library As a result of this GMS library being considered legacy, I decided to use the CredentialManager This helped simply the login flow and it removed the annoying error 10 🎉
Documentation
Lastly, I wrote some amazing ✨ documentation. I spent a lot of time making sure that the docs were accurate and extensive. The docs include a detailed guide on setting both Apple and Google. I also provided an example backend
for Login with Apple Feel free to check out the そして Google ガイド!
結論
結論として、Capacitor Social Login プラグインは、将来さらに多くの新しい機能を導入します 🚀
Capacitor Social Login プラグインのリリースから続けて
あなたが使用している場合 Capacitor Social Login プラグインのリリース 認証とアカウントフローの計画に使用している場合、__CAPGO_KEEP_0__ Social Login プラグインを接続してください @capgo/capacitor-social-login capgo/capacitor-social-loginの実装詳細については、@capgo/capacitor-social-loginを参照してください @capgo/capacitor-passkey 実装詳細のために@capgo/capacitor-passkeyの @capgo/capacitor-native-biometric 実装詳細のために@capgo/capacitor-native-biometric 2要素認証 2要素認証の実装詳細と SSO (企業) 実装詳細のためにSSO (企業).