NativeScript / NativeScript/plugins

[@nativescript/google-signin] - Signin does returns undefined for serverAuthCode

オープン
#644 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
TypeScript
スター
206
フォーク
123
平均マージ
2日 1時間
マージ済み PR(30日)
1

説明

While implementing the pacakge i see that in the response the serverAuthCode comes as undefined. I do get accessToken and the idToken. Because of the way our backend works we need the serverAuthCode . Is it know to not be working or might i be doing something wrong?
i'm configuring it like this
GoogleSignin.configure({
signInOptions: 'default',
clientId: environment.google_login_ios_client_id,
serverClientId: environment.google_login_server_client_id,
});
in the main.ts of the app before starting the app up
Using the versions:

  • "@nativescript/google-signin": "^2.1.1",
  • "@nativescript/core": "~8.9.2",

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

main.ts に示されている設定を使用し、@nativescript/google-signin 2.1.1 でサインインフローを再現し、パッケージによる serverClientId と serverAuthCode の処理を調査する。レスポンスを報告されている accessToken と idToken の値と比較する。完了条件は、serverAuthCode を返すべきかどうかを判断すること、または制限事項と必要な設定を文書化することである。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
authentication, mobile
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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