-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#100 use social logins #139
Conversation
…r-app into #100_use_social_logins
…r-app into #100_use_social_logins # Conflicts: # packages/firebase_common/lib/src/firestore_documents/_export.dart # packages/firebase_common/lib/src/firestore_documents/user_social_login.dart # packages/firebase_common/lib/src/firestore_documents/user_social_login.flutterfire_gen.dart # packages/mottai_flutter_app/lib/auth/auth.dart # packages/mottai_flutter_app/lib/auth/ui/auth_controller.dart # packages/mottai_flutter_app/lib/router/router.gr.dart
…r-app into #100_use_social_logins
/// [UserSocialLogin] を作成する。 | ||
/// | ||
/// ログイン済みのソーシャルログインにかかるプロパティのみ `true` とし、それ以外は `false` で作成する。 | ||
/// 既に [UserSocialLogin] が存在する状態で本処理を実行すると、意図せずにプロパティの値が `false` になるため注意。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 👍
Future<void> updateUserSocialLogin({ | ||
required SignInMethod signInMethod, | ||
required String userId, | ||
required bool shouldLink, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
これでも全然良いですが、この shoudLink
については link
の unlink
のメソッドを分けのも良さそうだと思いました!
ユーザーは、コントローラーを通じて「リンクしたい」or「リンク解除したい」の操作を選択する方が自然かなと思うためです!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
GitGuardian id | Secret | Commit | Filename | |
---|---|---|---|---|
2833900 | Google API Key | 4b5d64b | packages/mottai_flutter_app/ios/dev/GoogleService-Info.plist | View secret |
2778948 | Google API Key | 4b5d64b | packages/mottai_flutter_app/ios/prod/GoogleService-Info.plist | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Our GitHub checks need improvements? Share your feedbacks!
…r-app into #100_use_social_logins
これが表示されたのですが、対応方法がよくわかっておらず。。。 |
await _createWorkerAndUserSocialLoginWhenFirstSignIn( | ||
userCredential: userCredential, | ||
signInMethod: SignInMethod.line, | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LINEでサインインした際に、
_createWorkerAndUserSocialLoginWhenFirstSignIn()
の呼び出しが漏れていたので追加しました。
|
Issue
close #100
説明
まだ対応できておらず、現在も対応中の事項
UI
開発用のページを追加
その他
チェックリスト