-
Notifications
You must be signed in to change notification settings - Fork 143
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
Cross-domain RP-ID for online.my-site.com and online.my-site2.com #259
Comments
Hi! There is currently no way to do this, it's not supported by WebAuthn. There is some possibility there might be a way in the future, see: w3c/webauthn#1827 (comment) . But as of now the only solution is to use a redirect or iframe to perform the WebAuthn ceremonies on a single domain. |
I am using Java Spring. What if I recreate the RelyingParty bean at runtime like this
And set result of this method like this in runtime:
Doesn't this create problems during further signature validation by the library? |
Something like that should work only as long as you don't change the |
Yes, I have a task: to make it so that two identical frontends with different domains can use one backend to create a signature and authenticate with it within their domain. |
Hi @emlun ! Can you please tell me if there is any progress on this issue? w3c/webauthn#1827 (comment) We are again considering the possibility of creating a signature for our different domains of the "online.my-site.com", "online.my-site-new.com" format, so we asked you to check with you on the progress in implementing this feature? |
Hi! Sorry, there is no progress that I know of. |
There is now progress on this in WebAuthn, but it will be a while yet before the spec is finished and even longer before the feature is available in browsers: w3c/webauthn#2040 Closing this for now, please let us know if there's more to discuss. |
Hello, @emlun !
I have a question. I saw several variants of cross-domain rp-ids, like example:
my-site.my-domain.com
andmy-site-2.my-domain.com
. We could make rp-id likemy-domain.com
. Then ceremonies on subdomains would work correctly. But what if we have this option:online.my-domain.com
andonline.my-domain2.com
? What rp-id can be set so that credentials are created for two domains at once?Thanks
The text was updated successfully, but these errors were encountered: