google / google/GoogleSignIn-iOS

Keychain access group used for the sign-in state

オープン
#56 コメント 3 件 リアクション 4 件 担当者 0 名 GitHub で見る
主要言語
Objective-C
スター
750
フォーク
282
平均マージ
2日 15時間
マージ済み PR(30日)
9

説明

Hi,

This framework stores the user's sign-in information persistently in the keychain storage. From looking at the code, it doesn't set the access group of the query to the keychain, which means according to [Apple's docs](https://developer.apple.com/documentation/security/ksecattraccessgroup) that it will use the first access group.

If the first access group is shared in several apps of the same vendor, this means that the state will be read and written to the same place, which means that one app will get the user state of another app, which is not necessarily the desired result.

Did I understand everything correctly? If so, what's the way to work around it?
Also if that's the case, I suggest to document it explicitly.

Thanks

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。