Giter Site home page Giter Site logo

Abnormal behaviour of login Part II - if I don't clear my browser cache, anyone who uses my PC can log in as me by clicking one of the Social Networking logo login icons about moodle-auth_googleoauth2 HOT 2 CLOSED

rabser avatar rabser commented on July 24, 2024
Abnormal behaviour of login Part II - if I don't clear my browser cache, anyone who uses my PC can log in as me by clicking one of the Social Networking logo login icons

from moodle-auth_googleoauth2.

Comments (2)

mouneyrac avatar mouneyrac commented on July 24, 2024

Hi Frankie,

I can't see the other two FB or Messenger/Live/Outlook.com logos
If you saw the other logos the first time on the Moodle login page, then the second time you should see a link letting you know you can choose a different provider that the one you logged in with the first time. My plugin remembers what provider you used and it doesn't offer the user to pick a "wrong" different provider by default (to do it you need to click on the link).

  1. I click on the Google login icon and I'm back in again!!
  2. Shouldn't the plug in force me to re-enter my Gmail username and password?
    Seems to be a dangerous security issue here

it works like that everywhere on internet, check other sites that allow to use Google/Facebook/... to log in. And it's actually all the charm of Oauth2, it's just transparent to the user.

What you may not know it's that when you click on the Google logo you are redirected in a Google page (google.com ...). Google detects you are already logged-in Google (maybe you were logged in Gmail, google drive, maybe you were logged with the plugin, or you were logged with another site using sign-in with Google...) ,and so Google doesn't ask you to log in. Then Google redirects you to Moodle. All that is transparent to the user because neither Google, neither the plugin, send any html to the browser, so the browser doesn't display anything till Moodle send some html for the front page. And the user feels like he has just been connected. It's a great user experience.

The only issue I can see with Ouath2 is that the user is logged in Google (he did log in Google after all) and the user need to log out from Google manually (by Gmail, google drive... any google page).

from moodle-auth_googleoauth2.

mouneyrac avatar mouneyrac commented on July 24, 2024

Frankie I'm closing this issue. Let me know on your first issue if you success to make the "see other providers" link works.

from moodle-auth_googleoauth2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.