LoginSignup
0
0

Google関係のまとめ

Last updated at Posted at 2021-03-27

まとめページに戻る
まとめA~M

googleドライブ上の画像をimage関数で表示できない

3rd party cookie policyの変更が影響しているようですね。

it stopped working since Google updated their 3rd party cookie policy in early Jan 24.

https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007X8qVPSAZ

Google コンタクトのデータベースを Marketing Cloud に接続することは可能ですか?

If you turn on Einstein Activity capture, and connect your Gmail account, you can sync your email Contacts to your Salesforce Org. You can then import them into Marketing Cloud.

Einstein 活動キャプチャを有効にして Gmail アカウントに接続すると、メール取引先責任者を Salesforce 組織に同期できます。その後、それらを Marketing Cloud にインポートできます。

【障害?】グーグルマップをロードできません。

【障害】We can't connect with Google Contacts

image.png

I submitted a support case and was basically told "yes, it looks like this is broken, and we're not fixing it. We plan on removing Lightning Sync completely in 6 months." I'm moving over to Einstein Activity Capture and that seems to be working well. It requires more per-user setup than Lightning Sync, and of course the whole "not fixing broken things or offering compensation" thing is totally infuriating. So it goes.

サポートケースを提出したところ、基本的には「はい、これは壊れているようで、修正していません。6 か月以内に Lightning Sync を完全に削除する予定です。」と言われました。 Einstein 活動キャプチャに移行していますが、うまく機能しているようです。 Lightning Sync よりもユーザーごとの設定が必要です。もちろん、「壊れたものを修正しない、または補償を提供しない」ということ自体が完全に腹立たしいです。だからそうなるのです。

In the login history, we can't find a login that used Google authentication.

I had the same issue but was able to resolve it by activating google for the "Customer" site and log in there. It passed the trail even though the instructions said to use the "Partner"
site.

私も同じ問題を抱えていましたが、「顧客」サイトで Google をアクティブにしてそこにログインすることで解決できました。説明書には「Partner」サイトを使用するように書かれていたにもかかわらず、パスしてしまいました。

The failure looks like this - [SforceService.LoginFault]: INVALID_LOGIN: Invalid username, password, security token; or user locked out.

失敗は次のようになります - [SforceService.LoginFault]: INVALID_LOGIN: 無効なユーザー名、パスワード、セキュリティ トークン。またはユーザーがロックアウトされました。

Error 400: redirect_uri_mismatch You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy. If you're the app developer, register the redirect URI in the Google Cloud Console. Request details: redirect_uri=https://ra-dev-ed.my.salesforce.com/services/authcallback/GoogleTest

This error typically means the Client Redirect URL was not properly added to the OAuth Web Application in the Google Cloud Console. To resolve this, the user will need to copy the Client Redirect URL from the Single Sign-On Settings page from ThinkCentral, my.hrw.com, or HMH Ed.

このエラーは通常、クライアント リダイレクト URL が Google Cloud Console の OAuth ウェブ アプリケーションに適切に追加されなかったことを意味します。これを解決するには、ThinkCentral、my.hrw.com、または HMH Ed のシングル サインオン設定ページからクライアント リダイレクト URL をコピーする必要があります。

The redirect URI (where the response is returned to) has to be registered in the APIs console, and the error is indicating that you haven't done that, or haven't done it correctly.

Go to the console for your project and look under API Access. You should see your client ID & client secret there, along with a list of redirect URIs. If the URI you want isn't listed, click edit settings and add the URI to the list.

EDIT: (From a highly rated comment below) Note that updating the google api console and that change being present can take some time. Generally only a few minutes but sometimes it seems longer.

リダイレクト URI (応答が返される場所) を API コンソールに登録する必要があります。エラーは、それを行っていないか、正しく行っていないことを示しています。

プロジェクトのコンソールに移動し、API アクセスの下を確認します。そこには、リダイレクト URI のリストとともに、クライアント ID とクライアント シークレットが表示されます。必要な URI がリストにない場合は、[設定の編集] をクリックして、URI をリストに追加します。

編集:(以下の高評価のコメントから)Google APIコンソールを更新し、その変更が存在するようになるまでに時間がかかる場合があることに注意してください。通常は数分ですが、長く感じる場合もあります。

Google Auth

image.png

image.png

Make sure to create a new Apex class with the name Module3RegistrationHandler and use the code provided in the repo https://github.com/salesforceidentity/IdentityTrail-Module3/blob/master/Module3RegistrationHandler.cls, and associate this class as the Registration Handler for the Google auth provider.

必ずModule3RegistrationHandler という名前で新しい Apex クラスを作成し、リポジトリ https://github.com/salesforceidentity/IdentityTrail-Module3/blob/master/Module3RegistrationHandler.clsで提供されるコードを使用して、このクラスを 登録ハンドラ として関連付けます。 Google 認証プロバイダーの場合

Lightning Sync & Google Calendar stopped syncing

image.png

This is indeed a bug with Summer '23 and SF Support recommended adding the contacts auth scopes even if you're not syncing contacts. Doing this fixed the issue in our org.

image.png

Make sure to create a new Apex class with the name Module3RegistrationHandler and use the code provided in the repo https://github.com/salesforceidentity/IdentityTrail-Module3/blob/master/Module3RegistrationHandler.cls, and associate this class as the Registration Handler for the Google auth provider. Let me know if any further concerns. If this fixes your issue please mark this as best answer to close the thread.

No Login Found

image.png

Does anyone know how to move forward on the Challenge for Set up Social Sign-on? I keep receiving an Authentication Error Message.

We can’t log you in because of the following error. For more information, contact your Salesforce administrator. NO_ACCESS: Unable to find a user.

You need to make changes to the default registration handler. Check this trailhead unit for help - https://trailhead.salesforce.com/content/learn/modules/identity_external/identity_external_social

Set Up Social Sign-On の Facebook版

Facebookのアカウントを使うことが正解と思うけど、頑なに違うと言っている。まぁ、仕方ない

Thank you all for sharing these resources. I was able to resolve this issue so wanted to share the resolution. The Google account I was using for verification didn't have a last name field associated with the account so it wasn't able to be passed through the registration handler. I went into that Google account, added a last name, and tried again and the verification ran. If you're hitting similar errors I encourage you to check those google account details to be sure you have a first name and last name associated with that email address.

これらのリソースを共有していただきありがとうございます。この問題は解決できたので、解決策を共有したいと思います。検証に使用していた Google アカウントには、アカウントに関連付けられた姓フィールドがなかったため、登録ハンドラーを通過できませんでした。その Google アカウントにアクセスし、姓を追加して再試行すると、認証が実行されました。同様のエラーが発生した場合は、Google アカウントの詳細を確認して、そのメール アドレスに姓名が関連付けられていることを確認することをお勧めします。

Google を使ったログイン

I was able to resolve this issue so wanted to share the resolution. The Google account I was using for verification didn't have a last name field associated with the account so it wasn't able to be passed through the registration handler. I went into that Google account, added a last name, and tried again and the verification ran. If you're hitting similar errors I encourage you to check those google account details to be sure you have a first name and last name associated with that email address.

Google 広告データ

Google Drive

Googleカレンダー

システム管理者側で、根源的にGoogleカレンダーとSalesforceの同期を止めたいので、Einstein Activity Captureで設定しなければならないそうです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0