Account created on 29 March 2024, 3 months ago
#

Recent comments

It won't work. For example, there's "drupal/social_auth": "^3.0" in composer.json (3.0 version only works with drupal 9).

@lawxen Yes, you're right. I used social_auth_decoupled + social_auth_google_api.

OK, I needed authenticateNewUser by the info from social account (Google account). I used those both modules (including social_auth_google_api). It seemed that the json link worked (in the browser it was recognised) but when I sent a Google ID Token by using /user/login/google?_format=json` [POST], there was an error. I used Social API v3, Social Auth v3 and Social Auth Google v3 to have them as compatible as possible but Drupal 10 (I changed the modules to have drupal 10 in their files).

If you used those modules for Drupal 8/9, could you confirm or disprove that social_auth_google_api worked with Google ID Token or it worked uniquely with Google Access Tokens? For the last case I suppose that either it's not safe to use client_id on Android app or it worked with already registered accounts on Drupal, so it's only for authenticateExistingUser, not for authenticateNewUser? Is my logic correct or not?

I don't understand how to get Google Access Token, it seems nearly impossible to do that (because client secret can't be stored on Android app). Do you talk about Google ID Tokens? If so, social_auth_decoupled doesn't work with it. I don't understand which purpose of this module social_auth_decoupled, if it doesn't work with Google ID Tokens? Do you know?

Does Social Auth Google API register a user? Do you know, if that module uses ID Token (Google) or uniquely Access Token? I tried ID Token and it seems that it doesn't work. Is there a way to get an Access Token on Android by using Credential Manager, do you know? It would be helpful to know how that module works.

Hello,
Does this module work with Drupal 10 or Drupal 9? I tried it with a valid access token, and it returned the message 'invalid_request'. If it does work, I will try to pinpoint the exact issue as to why it's not functioning on my website. If it doesn't work, perhaps I will try to reprogram its code (if it is possible for me to do it).

Production build 0.69.0 2024