Can I require login via both GitHub and Google OAuth?


#1

Currently I have OAuth login with GitHub working – this allows me to automatically push code to github with commit messages attached when the user takes certain actions.

Now I would also like to build some charts using data that is stored in some private Google Sheets – for this I need to have the user log in with their Google accounts, too.

Is there any way I can force a user to login using two OAuth services?

I’m imaging a login screen with two buttons: “log in with Github” and “login with Google”. The user would have to click both buttons to actually log in to the app.

Is this possible?

Thanks!