Authentication with OAuth2 without Internet connection?

Authentication with OAuth2 without Internet connection?

by Noat Tran -
Number of replies: 2

Hi,

I am using authentication with OAuth2 method, it means I can login to my site by my Google Email account.

Our site is used both of area, one is used via Internet and another one is used in Local Area Network.

Even in LAN, if clients have Internet connection, our students can still login by their Google Account with OAuth2 method.

However, my question is whether there is any solution for logging in in LAN if clients do not have Internet connection, it means students can't login by Google Account because they can't connect to the Internet.

Thanks,

Noat


Average of ratings: -
In reply to Noat Tran

Re: Authentication with OAuth2 without Internet connection?

by Iñaki Arenaza -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

I'm afraid this is not possible. OAuth2 authentication needs to contact your OAuth provider (Google Email in your particular case) to authenticate the user. If the connection to your OAuthe provider is not possible, then the login process is going to fail.

Saludos. Iñaki.

Average of ratings: Useful (1)
In reply to Iñaki Arenaza

Re: Authentication with OAuth2 without Internet connection?

by Noat Tran -
Hi Iñaki Arenaza,

Yeah, I know that. So that I need a solution or an idea for that situation.