two-factor-authentication

2FA give problems when pushing to GitHub

余生颓废 提交于 2019-11-29 07:25:32
问题 I've clone a project on GitHub on my Raspberry Pi, create a new branch and push everything to the repository. For this I needed next commands: git clone https://www.github.com/heinpauwelyn/my_repo git checkout -b raspberry git push origin raspberry The problem I've got is that I can't push the branch to GitHub.com. I need to enter my username and password, but I can't use 2FA for that. Is this a bug in Git or GitHub and is there a way to get an authentication key and enter it? I'll not enable

Two factor authentication with spring security oauth2

半腔热情 提交于 2019-11-28 17:56:02
I'm looking for ideas how to implement two factor authentication (2FA) with spring security OAuth2. The requirement is that the user needs two factor authentication only for specific applications with sensitive information. Those webapps have their own client ids. One idea that popped in my mind would be to "mis-use" the scope approval page to force the user to enter the 2FA code/PIN (or whatever). Sample flows would look like this: Accessing apps without and with 2FA User is logged out User accesses app A which does not require 2FA Redirect to OAuth app, user logs in with username and

Sending email fails when two factor authentication is on for Gmail

做~自己de王妃 提交于 2019-11-27 17:14:14
I am using my Gmail account and smtp.gmail.com inside my web application to test and send email. when two factor authentication is ON for my Gmail account, it fails to send the email, however when I turn off two factor authentication for my Gmail account, the web application sends email successfully. Appreciate any kind of advice. Create a custom app in you Gmail security settings. 1. Log-in into Gmail with your account 2. Navigate to https://security.google.com/settings/security/apppasswords 3. In 'select app' choose 'custom', give it an arbitrary name and press generate 4. It will give you

Two factor authentication with spring security oauth2

落爺英雄遲暮 提交于 2019-11-27 11:08:20
问题 I'm looking for ideas how to implement two factor authentication (2FA) with spring security OAuth2. The requirement is that the user needs two factor authentication only for specific applications with sensitive information. Those webapps have their own client ids. One idea that popped in my mind would be to "mis-use" the scope approval page to force the user to enter the 2FA code/PIN (or whatever). Sample flows would look like this: Accessing apps without and with 2FA User is logged out User

Sending email fails when two factor authentication is on for Gmail

允我心安 提交于 2019-11-26 18:53:53
问题 I am using my Gmail account and smtp.gmail.com inside my web application to test and send email. when two factor authentication is ON for my Gmail account, it fails to send the email, however when I turn it off, the web application sends email successfully. Appreciate any kind of advice. 回答1: Create a custom app in you Gmail security settings. 1. Log-in into Gmail with your account 2. Navigate to https://security.google.com/settings/security/apppasswords 3. In 'select app' choose 'custom',