Skip to content

Support multiple authentication steps for MFA #9382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mazenaissa opened this issue Jan 27, 2021 · 3 comments
Closed

Support multiple authentication steps for MFA #9382

mazenaissa opened this issue Jan 27, 2021 · 3 comments
Labels
in: web An issue in web modules (web, webmvc) status: duplicate A duplicate of another issue type: enhancement A general enhancement

Comments

@mazenaissa
Copy link
Contributor

mazenaissa commented Jan 27, 2021

Hello,
I want to implement multi factor authentication in my web application using spring security, so I need to make the authentication process on 2 steps. First one is to check username and password and the second one to check the OTP, so the authentication will be implemented using two pages.
How can I achieve this ?

Thanks,

@mazenaissa mazenaissa added status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement labels Jan 27, 2021
@jzheaux
Copy link
Contributor

jzheaux commented Jan 28, 2021

Hi, @mazenaissa, this is indeed something that would be a great addition to Spring Security, but it hasn't been added yet.

There is more discussion on this at #2603, so I'll close this as a duplicate, but I'd encourage you to contribute your thoughts over there.

@jzheaux jzheaux closed this as completed Jan 28, 2021
@jzheaux jzheaux added in: web An issue in web modules (web, webmvc) status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Jan 28, 2021
@mazenaissa
Copy link
Contributor Author

Hello @jzheaux
Is there any way to use filters to process the authentication on 2 steps ?
Thanks,

@jzheaux
Copy link
Contributor

jzheaux commented Feb 3, 2021

@mazenaissa, not one that Spring Security supports.

I've created spring-projects/spring-security-samples#7 to add a sample, which will hopefully help in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web An issue in web modules (web, webmvc) status: duplicate A duplicate of another issue type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants