cedarcode / webauthn-ruby

WebAuthn ruby server library ― Make your Ruby/Rails web server become a conformant WebAuthn Relying Party
https://rubygems.org/gems/webauthn
MIT License
649 stars 53 forks source link

Method name difference between WebAuthn::Credential and WebAuthn::RelyingParty (3.0.0 alpha 1) #351

Closed phyzalis closed 2 years ago

phyzalis commented 2 years ago

General description

As I have two kind of users in my applications, I am trying to use a dedicated WebAuthn::RelyingParty instance for my AdminUser and I am keeping WebAuthn::Credential for our platform User.

The reason is because domains are different for User and AdminUser.

But I see that methods are different :

I see this is the same after that for authentication : options_for_get vs options_for_authentication

Is this the final methods name or is this going to change soon as I am testing 3.0.0 alpha 1 ?

phyzalis commented 2 years ago

Not having any answer about this but seeing that this feature has been reverted, I will use the relying_party option of the methods