-
|
Hello Rauthy community! I've recently come across this project and it's incredible. We're going to be using it for our authentication. I'm trying to setup MFA where the user uses their Google Auth or Microsoft Authenticatior. However, there only seems to be a way to do it via a "session" cookie. What we're currently trying to achieve: Custom Flutter UI -> Microservice API (Calling Rauthy) -> Return QR Code details -> Display QR Code in Flutter app. We do have an issue with the It would be great to get some guidance on how best to approach this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
I guess you are trying to set up TOTP, and yes, this will not work. Rauthy works with Passkeys. There won't be any QR code or anything like that. I never used Flutter, but if you want to use it, you would need to work with Webauthn. However, even then, you won't be able to use TOTP. I never implemented it and never will, because I think it's outdated technology and provides a very bad and annoying UX, especially compared to Webauthn. The Endpoints for starting and finishing the Webauthn ceremony require a Session, because they cannot be triggered from an external Origin anyway. You could make it work, if you dare to go very low level with the API, and do it manually instead of letting the browser / Webview handle everything for you. If you really want to use TOTP for whatever reason, instead of Webauthn, you won't be able to set up MFA with Rauthy. |
Beta Was this translation helpful? Give feedback.
I guess you are trying to set up TOTP, and yes, this will not work. Rauthy works with Passkeys. There won't be any QR code or anything like that.
I never used Flutter, but if you want to use it, you would need to work with Webauthn. However, even then, you won't be able to use TOTP. I never implemented it and never will, because I think it's outdated technology and provides a very bad and annoying UX, especially compared to Webauthn.
The Endpoints for starting and finishing the Webauthn ceremony require a Session, because they cannot be triggered from an external Origin anyway. You could make it work, if you dare to go very low level with the API, and do it manually instead of letting the…