How to Add Google Authentication to Moodle

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ธ.ค. 2024

ความคิดเห็น • 68

  • @SarahPoulin
    @SarahPoulin 2 ปีที่แล้ว +1

    I already have Google added to my Moodle site (oauth and all that). When I create an assignment, I have access to my Google Docs on Google Drive, but it uploads it as a file. Is there any way to automatically link the Google Doc (create a copy for the student) and/or embed the Google Doc for the students. I can easily do this with Canvas Google LTI, but I can't figure it out with Google. Only with Google Assignments LTI in Moodle which requires an institutional account (not for us homeschoolers).

    • @NellieDeutsch
      @NellieDeutsch  2 ปีที่แล้ว

      Good question, Sarah. Are you familiar with the resource called file? You go to add an activity or resource and choose "file". You add the link to your Google file (docs, presentation, form...), but you choose under appearance choose "In frame".

    • @SarahPoulin
      @SarahPoulin 2 ปีที่แล้ว

      @@NellieDeutsch I added a file resource, added the link to my Google Doc in the Description, chose "Embed" for Appearance > Display (I can't find anything called ), and tried to save. It won't let me because it requires a file under "select files."

    • @NellieDeutsch
      @NellieDeutsch  2 ปีที่แล้ว

      @@SarahPoulin www.awesomescreenshot.com/image/20484222?key=e79db08408472ff225f07ada0721fbd5

    • @NellieDeutsch
      @NellieDeutsch  2 ปีที่แล้ว

      What options do you have under appearance?

  • @carloscoliver9427
    @carloscoliver9427 2 ปีที่แล้ว +1

    Hi Dr. Nellie, Great video! I have a question. Our moodle is quite old (2.9.9+ version) and referring to minute 13:39, when I fiil in the search tab "OAuth" does not find anything. I think, by that, is not possible to set up GoogleAuth?

    • @carloscoliver9427
      @carloscoliver9427 2 ปีที่แล้ว

      Is that a yes? lol.. I mean if I don't have the option is not possible, right?

    • @NellieDeutsch
      @NellieDeutsch  2 ปีที่แล้ว

      Hi Carols, thank you. Why don't you upgrade your Moodle? 2.9.9+ or try this moodle.org/plugins/auth_googleoauth2/versions. That's what I used to use.

    • @carloscoliver9427
      @carloscoliver9427 2 ปีที่แล้ว

      @@NellieDeutsch Thank you very much. I can´t upgrade it by this time, because Is in use and we can´t afford any downtime right now. Of course, I´ll be consider upgrading as soon as we have the availability

    • @NellieDeutsch
      @NellieDeutsch  2 ปีที่แล้ว +1

      @@carloscoliver9427 If it's a big site, it would take some time.

  • @fernandoaraoz3430
    @fernandoaraoz3430 2 ปีที่แล้ว +1

    Muchas Gracias por el tutorial. Muy bien explicado. Tengo algunas dudas, por favor si puedes ayudarme. 1 - Este servicio de Google es gratuito? 2 - Hay algún riesgo de dañar la operatividad de la plataforma Moodle? 3- Qué sucede con la plataforma Moodle si no puedo terminar la configuración? deja de ser operativa? Gracias por tu tiempo! Saludos desde Argentina!

    • @NellieDeutsch
      @NellieDeutsch  2 ปีที่แล้ว

      My reply to Fernando's message: Thank you very much for the tutorial. Very well explained. I have some doubts, please if you can help me. 1 - Is this Google service free? 2 - Is there any risk of damaging the functionality of the Moodle platform? 3- What happens with the Moodle platform if I can't finish the configuration? stop working? Thanks for your time! Greetings from Argentina!
      Thank you for your kind words, Fernando.
      1. Yes, the service is free on Google for developers.
      2. No damage to any functionalities on Moodle.
      3. Nothing happens on Moodle because you still have the username/password fill in form authentication.
      Gracias por tus amables palabras Fernando.
      1. Sí, el servicio es gratuito en Google para desarrolladores.
      2. No se dañarán las funcionalidades de Moodle.
      3. No sucede nada en Moodle porque aún tiene el nombre de usuario/contraseña para completar la autenticación del formulario.

    • @fernandoaraoz3430
      @fernandoaraoz3430 2 ปีที่แล้ว

      Estimada Nelli, gracias por donar tu tiempo y responderme. Voy a probar lo explicado en tu tutorial. Cualquier inconveniente voy a molestarte para que me brindes tu ayuda. PD: Ahora iniciamos receso escolar en Argentina, entonces voy a aprovechar para mirar tus otros videos! Gracias por todo!

    • @NellieDeutsch
      @NellieDeutsch  2 ปีที่แล้ว

      @@fernandoaraoz3430 ¡Mi placer! Estaré feliz de hacer todo lo que pueda para ayudarlo con Moodle.

  • @AhmadHassan-v8c
    @AhmadHassan-v8c 3 หลายเดือนก่อน

    Hello Maam! pl tell how about we login in wordpress first can we redirect to moodle without any login again via using oauth2 custom?

    • @NellieDeutsch
      @NellieDeutsch  3 หลายเดือนก่อน

      Do you mean log into Wordpress first?

  • @amitpathak3843
    @amitpathak3843 4 ปีที่แล้ว

    Thanks again Mam. Looking long for this as moodle normal enrollment process is long n tiring for students. Great work. ♥️

    • @NellieDeutsch
      @NellieDeutsch  4 ปีที่แล้ว +1

      Glad to be of help. Moodle's authentication methods are not user friendly. I guess that's the only bad side to the platform. Moodle has a great security feature that minimizes spammers and hackers, but at the expensive of the students who have to verify their emails when creating new accounts. That often becomes very frustrating. There's no way around the verification process unless you want to compromise your site.

    • @amitpathak3843
      @amitpathak3843 4 ปีที่แล้ว

      @@NellieDeutsch Account creation through Google Account will reduce this process. Isn't it Mam?

    • @NellieDeutsch
      @NellieDeutsch  4 ปีที่แล้ว

      @@amitpathak3843 Yes, it's much faster, but students forget to confirm right away and the confirmation mail times out.

    • @amitpathak3843
      @amitpathak3843 4 ปีที่แล้ว

      @@NellieDeutsch Oh!

  • @BhaveshTilvani
    @BhaveshTilvani 2 ปีที่แล้ว

    Hi Dr. Nellie, Watched the video.. very informative.. I do have a question. Is there any way to login into moodle using google sso id_token which i get while login by client_id and secret into other application, so that i can bypass the moodle login page and directly login through specific url which contains the logged credentials's id_token used from other website?

    • @NellieDeutsch
      @NellieDeutsch  2 ปีที่แล้ว

      That's a great question, Bhavesh. Do you mean to have a login from say a Wordpress site? The answer is yes.

    • @BhaveshTilvani
      @BhaveshTilvani 2 ปีที่แล้ว

      @@NellieDeutsch Great to hear that.. in addition to that.. if yes then by which mean you are saying by code or specific plugin?

    • @NellieDeutsch
      @NellieDeutsch  2 ปีที่แล้ว

      @@BhaveshTilvani You need to add oauth2 authentication to your site and then connect it to Moodle via the login by signups .

    • @BhaveshTilvani
      @BhaveshTilvani 2 ปีที่แล้ว

      ​ @Dr. Nellie Deutsch Thanks for answer...i have already setup oauth2 auth plugin google service in moodle site for google sso. but here the twist is like i want moodle to start user session via something like redirection page where i just accept the google sso id_token param and by validation of that it starts moodle session and shows moodle dashboad directly without asking username and password.

    • @NellieDeutsch
      @NellieDeutsch  2 ปีที่แล้ว

      @@BhaveshTilvani You will need to use another site for this. Moodle allows you to have a signup page somewhere else. Go to admin > plugin > authentication > Alternate login URL
      alternateloginurl - "If you enter a URL here, it will be used as the login page for this site. The page should contain a form which has the action property set to 'yourdomain/login/index.php' ...
      Be careful not to enter an incorrect URL as you may lock yourself out of this site." Another option is to use Edwiser REMUI and ask support to create a script for you to remove the username/password from the login page on Moodle. Here's a link of referral to help you out edwiser.org/?ref=103

  • @huijillain5257
    @huijillain5257 4 ปีที่แล้ว

    Very helpful! Thank you Dr. Nellie!

    • @NellieDeutsch
      @NellieDeutsch  4 ปีที่แล้ว +1

      Glad you found the video useful. Are you the admin of your Moodle? Let me know if you need further information.

    • @huijillain5257
      @huijillain5257 4 ปีที่แล้ว

      @@NellieDeutsch yes, I am an admin for Moodle online course. We finally register a new domain for course main page, but I still could not add google email login. It still shows error 400. Any chance you can help? Thank you Dr. Deutsch!

    • @huijillain5257
      @huijillain5257 4 ปีที่แล้ว

      @@NellieDeutsch Authorization Error
      Error 400: redirect_uri_mismatch
      The redirect URI in the request, .......does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: console.developers.google.com/apis/credentials/oauthclient/${your_client_id}?project=${your_project_number}

    • @NellieDeutsch
      @NellieDeutsch  4 ปีที่แล้ว

      @@huijillain5257 Did you verify your website on Google?

    • @huijillain5257
      @huijillain5257 4 ปีที่แล้ว

      ​@@NellieDeutsch yes, we verified domain ownership, and solved the 400 error by manually added ...oauth2callback.php after our website. Thank you Dr. Deutsch.

  • @ubaisalih2987
    @ubaisalih2987 ปีที่แล้ว

    this is really awesome , i've tried to follow all steps , just the logon by google option not showup on Login page , not sure it this related to theme , currently i'm using Eguru theme, and i'm not able to find meta taq at minute 8::48 of the video , as looks like the domain verification method has been changed now

    • @NellieDeutsch
      @NellieDeutsch  ปีที่แล้ว

      What errors are you getting?

    • @ubaisalih2987
      @ubaisalih2987 ปีที่แล้ว

      @@NellieDeutsch thank you very much for your reply , on google console, i've got this "Action required
      Comply with domain verification requirements
      Ensure that your application's domains have completed the Search Console verification process"
      while the domain is already approved and available on Google Search Console

    • @NellieDeutsch
      @NellieDeutsch  8 หลายเดือนก่อน

      Google is constantly improving its methods and offering more support. I would give them a chance.

  • @fazlida84791
    @fazlida84791 ปีที่แล้ว

    I got an error while trying to verify the domain ownership.They found another DNS TXT records instead.

    • @NellieDeutsch
      @NellieDeutsch  ปีที่แล้ว

      Can you elaborate on what you add and the error message you got? I have been doing this for years on my own. You can now get help from Google.

  • @MisaelNicolas-vw1mx
    @MisaelNicolas-vw1mx ปีที่แล้ว

    Hola gracias por la explicación realice todos los pasos, pero cuando el usuario se quiere logear con la cuenta de google le aparece un error fordiben y no se redirecciona a la pagina de mi plataforma como puedo solucionarlo

    • @NellieDeutsch
      @NellieDeutsch  ปีที่แล้ว

      "Hello, thanks for the explanation, I did all the steps, but when the user wants to log in with the google account, a fordiben error appears and it is not redirected to the page of my platform, how can I solve it?" Did you confirm ownership of your Moodle website? What is the link of the site?

  • @Inspired-yw4vx
    @Inspired-yw4vx 4 ปีที่แล้ว

    Dr is it takes a long time for the user to get the confirmation email

    • @Inspired-yw4vx
      @Inspired-yw4vx 4 ปีที่แล้ว +1

      my email for confirmation is still pending

    • @NellieDeutsch
      @NellieDeutsch  4 ปีที่แล้ว

      @@Inspired-yw4vx You need to check your Cron. Ask your server manager to set that to 1 min.

    • @NellieDeutsch
      @NellieDeutsch  4 ปีที่แล้ว

      Maybe, your cron is not set properly. You can do it manually on your Moodle (write your domain address instead of site.example.com) site.example.com/admin/cron.php?password=opensesame You can set the password on the "crone" setting on the Moodle. Just search for the term "crone" and you'll find it.

    • @Inspired-yw4vx
      @Inspired-yw4vx 4 ปีที่แล้ว +1

      @@NellieDeutsch where i need to write the domain address,,only can change the password

    • @Inspired-yw4vx
      @Inspired-yw4vx 4 ปีที่แล้ว +1

      I am sorry Dr, can you show me how to setup the cron,please

  • @hasitha580
    @hasitha580 3 ปีที่แล้ว +1

    Mam check your gmail plz 🙏

    • @NellieDeutsch
      @NellieDeutsch  3 ปีที่แล้ว

      Please add your comments here or become a member of my TH-cam channel by clicking on the join button and I will provide you with mentorship th-cam.com/channels/sLt8oYvDYGpSHcGhRBBkyw.htmljoin