Kim Paulhamus | | Software Engineer | |
--
You received this message because you are subscribed to the Google Groups "FIDO Dev (fido-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fido-dev+u...@fidoalliance.org.
To post to this group, send email to fido...@fidoalliance.org.
Visit this group at https://groups.google.com/a/fidoalliance.org/group/fido-dev/.
To view this discussion on the web visit https://groups.google.com/a/fidoalliance.org/d/msgid/fido-dev/e39ffe31-29b2-4f2e-80a6-e838018a6669%40fidoalliance.org.
To view this discussion on the web visit https://groups.google.com/a/fidoalliance.org/d/msgid/fido-dev/CAKQBCKFRO3bFhHW470xVEzrmJ8rn75-_2V%3Dqvt13REY2r_cV4w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/fidoalliance.org/d/msgid/fido-dev/CAE1XR1%3DgqAHH9Y9Ud5qaKcgKbcE8LuhyB4_8BuvkcdRAQW03Bw%40mail.gmail.com.
I'm curious why other browsers don't error out.Adding JC and Akshay for their expert opinion.
On Mon, Jun 25, 2018 at 1:45 PM 'Kim Paulhamus' via FIDO Dev (fido-dev) <fido...@fidoalliance.org> wrote:
Hi Shane,Port number is not part of the rpID in WebAuthN. In fact, if you're setting rpID, it should just be a domain name. Try setting rpID to "www.myrp.com" only.You can also leave rpID unset, and the browser will default it to the domain of your origin, which should work just as well in your case.Regards,Kim
Kim Paulhamus | Software Engineer |
On Mon, Jun 25, 2018 at 12:17 AM Shane Weeden <shane....@gmail.com> wrote:
I have a FIDO2 relying-party web server that is NOT running on port 443.--When calling navigator.credentials.create I need to pass in a publicKey.rp.id value. Typically this is just the hostname of the relying-party, such as www.myrp.com, however when this RP does not run on port 443 it's not clear what the rpId should be. I have tried hostname:port and this works fine with Firefox and the Windows Insider version of Edge, but Chrome (Version 67.0.3396.87 (Official Build) (64-bit)) reports:DOMException: The relying party ID 'www.myrp.com:444' is not a registrable domain suffix of, nor equal to 'https://www.myrp.com:444'.
Setting the rpId to the complete string https://www.myrp.com:444 doesn't work either. In that case you get this error, which is just plain misleading:DOMException: The relying party ID 'https://www.myrp.com:444' is not a registrable domain suffix of, nor equal to 'https://www.myrp.com:444'.
Is this a Chrome issue, or should the rpId be set to something else?
You received this message because you are subscribed to the Google Groups "FIDO Dev (fido-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fido-dev+unsubscribe@fidoalliance.org.
To post to this group, send email to fido...@fidoalliance.org.
Visit this group at https://groups.google.com/a/fidoalliance.org/group/fido-dev/.
To view this discussion on the web visit https://groups.google.com/a/fidoalliance.org/d/msgid/fido-dev/e39ffe31-29b2-4f2e-80a6-e838018a6669%40fidoalliance.org.
--
You received this message because you are subscribed to the Google Groups "FIDO Dev (fido-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fido-dev+unsubscribe@fidoalliance.org.
To post to this group, send email to fido...@fidoalliance.org.
Visit this group at https://groups.google.com/a/fidoalliance.org/group/fido-dev/.
To view this discussion on the web visit https://groups.google.com/a/fidoalliance.org/d/msgid/fido-dev/CAKQBCKFRO3bFhHW470xVEzrmJ8rn75-_2V%3Dqvt13REY2r_cV4w%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "FIDO Dev (fido-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fido-dev+unsubscribe@fidoalliance.org.
To post to this group, send email to fido...@fidoalliance.org.
Visit this group at https://groups.google.com/a/fidoalliance.org/group/fido-dev/.
To view this discussion on the web visit https://groups.google.com/a/fidoalliance.org/d/msgid/fido-dev/CAE1XR1%3DgqAHH9Y9Ud5qaKcgKbcE8LuhyB4_8BuvkcdRAQW03Bw%40mail.gmail.com.
Kim Paulhamus | | Software Engineer |
--
You received this message because you are subscribed to the Google Groups "FIDO Dev (fido-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fido-dev+u...@fidoalliance.org.
To post to this group, send email to fido...@fidoalliance.org.
Visit this group at https://groups.google.com/a/fidoalliance.org/group/fido-dev/.
To view this discussion on the web visit https://groups.google.com/a/fidoalliance.org/d/msgid/fido-dev/bb6288f3-42dc-4cc9-b315-ca60e33d7ef5%40fidoalliance.org.
To view this discussion on the web visit https://groups.google.com/a/fidoalliance.org/d/msgid/fido-dev/9043e036-a2e7-4190-bcf1-1f54cf2b0610%40fidoalliance.org.
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
│ href │
├──────────┬──┬─────────────────────┬─────────────────────┬───────────────────────────┬───────┤
│ protocol │ │ auth │ host │ path │ hash │
│ │ │ ├──────────────┬──────┼──────────┬────────────────┤ │
│ │ │ │ hostname │ port │ pathname │ search │ │
│ │ │ │ │ │ ├─┬──────────────┤ │
│ │ │ │ │ │ │ │ query │ │
" https: // user : pass @ sub.host.com : 8080 /p/a/t/h ? query=string #hash "
│ │ │ │ │ hostname │ port │ │ │ │
│ │ │ │ ├──────────────┴──────┤ │ │ │
│ protocol │ │ username │ password │ host │ │ │ │
├──────────┴──┼──────────┴──────────┼─────────────────────┤ │ │ │
│ origin..............origin..............origin │ pathname │ search │ hash │
├─────────────┴─────────────────────┴─────────────────────┴──────────┴────────────────┴───────┤
│ href │
└─────────────────────────────────────────────────────────────────────────────────────────────┘
У меня есть веб-сервер, поддерживающий FIDO2, который НЕ работает на порту 443.При вызове navigator.credentials.create мне нужно передать значение publicKey.rp.id . Обычно это просто имя хоста полагающейся стороны, например www.myrp.com , однако, когда этот RP не запускается на порту 443, неясно, что должен делать rpId. Я пробовал имя хоста: порт, и это отлично работает с Firefox и версией Edge для Windows Insider, но Chrome (версия 67.0.3396.87 (Official Build) (64-разрядная версия)) сообщает:DOMException: идентификатор полагающейся стороны « www.myrp.com:444 » не является зарегистрированным суффиксом домена, равным « https://www.myrp.com:444 ».
Установка rpId в полную строку https://www.myrp.com:444 тоже не работает. В этом случае вы получаете эту ошибку, которая просто вводит в заблуждение:DOMException: идентификатор полагающейся стороны « https://www.myrp.com:444 » не является зарегистрированным суффиксом домена, равным « https://www.myrp.com:444 ».
Это проблема Chrome, или нужно установить rpId на что-то еще?
--
You received this message because you are subscribed to the Google Groups "FIDO Dev (fido-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fido-dev+u...@fidoalliance.org.
To post to this group, send email to fido...@fidoalliance.org.
Visit this group at https://groups.google.com/a/fidoalliance.org/group/fido-dev/.
To view this discussion on the web visit https://groups.google.com/a/fidoalliance.org/d/msgid/fido-dev/a89ba2e8-5635-40c4-a184-10f457f98645%40fidoalliance.org.