{"action":"created","issue":{"url":"https://api.github.com/repos/ahelland/ADFSMFAAdapters/issues/2","repository_url":"https://api.github.com/repos/ahelland/ADFSMFAAdapters","labels_url":"https://api.github.com/repos/ahelland/ADFSMFAAdapters/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/ahelland/ADFSMFAAdapters/issues/2/comments","events_url":"https://api.github.com/repos/ahelland/ADFSMFAAdapters/issues/2/events","html_url":"https://github.com/ahelland/ADFSMFAAdapters/issues/2","id":208429669,"number":2,"title":"\"Authentication Method does not implment IAuthenticationAdapter interface\"","user":{"login":"mscott83","id":14905069,"avatar_url":"https://avatars0.githubusercontent.com/u/14905069?v=3","gravatar_id":"","url":"https://api.github.com/users/mscott83","html_url":"https://github.com/mscott83","followers_url":"https://api.github.com/users/mscott83/followers","following_url":"https://api.github.com/users/mscott83/following{/other_user}","gists_url":"https://api.github.com/users/mscott83/gists{/gist_id}","starred_url":"https://api.github.com/users/mscott83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscott83/subscriptions","organizations_url":"https://api.github.com/users/mscott83/orgs","repos_url":"https://api.github.com/users/mscott83/repos","events_url":"https://api.github.com/users/mscott83/events{/privacy}","received_events_url":"https://api.github.com/users/mscott83/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-17T12:36:31Z","updated_at":"2017-03-24T14:04:29Z","closed_at":null,"body":"I'm trying to install the YubiKey MFA adapter in a lab environment. I've compiled the DLL, registered it with the GAC, and now I'm trying to register it with ADFS but I get the following error:\r\n\r\n```\r\n$regstring = ADFSMFAAdapters.YubiKeyMFAAdapter, YubiKeyMFAAdapter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=152696276e8615ae\r\n$shortclassname = \"YubiKeyMFAAdapter\"\r\nRegister-AdfsAuthenticationProvider -TypeName $regstring -Name $shortclassname\r\n\r\nRegister-AdfsAuthenticationProvider : The authentication method ADFSMFAAdapters.YubiKeyMFAAdapter, YubiKeyMFAAdapter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=152696276e8615ae does not implement the IAuthenticationAdapter interface.\r\nAt line:36 char:1\r\n+ Register-AdfsAuthenticationProvider -TypeName $regstring -Name $shortclassname\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (:) [Register-AdfsAuthenticationProvider], AuthenticationMethodLoadException\r\n    + FullyQualifiedErrorId : The authentication method ADFSMFAAdapters.YubiKeyMFAAdapter, YubiKeyMFAAdapter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=152696276e8615ae does not implement the IAuthenticationAdapter interface.,Microsoft.IdentityServer.Management.Commands.AddExternalAuthProviderCommand \r\n```"},"comment":{"url":"https://api.github.com/repos/ahelland/ADFSMFAAdapters/issues/comments/289031183","html_url":"https://github.com/ahelland/ADFSMFAAdapters/issues/2#issuecomment-289031183","issue_url":"https://api.github.com/repos/ahelland/ADFSMFAAdapters/issues/2","id":289031183,"user":{"login":"ahelland","id":6265665,"avatar_url":"https://avatars3.githubusercontent.com/u/6265665?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelland","html_url":"https://github.com/ahelland","followers_url":"https://api.github.com/users/ahelland/followers","following_url":"https://api.github.com/users/ahelland/following{/other_user}","gists_url":"https://api.github.com/users/ahelland/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelland/subscriptions","organizations_url":"https://api.github.com/users/ahelland/orgs","repos_url":"https://api.github.com/users/ahelland/repos","events_url":"https://api.github.com/users/ahelland/events{/privacy}","received_events_url":"https://api.github.com/users/ahelland/received_events","type":"User","site_admin":false},"created_at":"2017-03-24T14:04:29Z","updated_at":"2017-03-24T14:04:29Z","body":"Not able to repro here - works like it should on my ADFS box. (It implements the IAuthenticationAdapter interface, so weird how that would show up.)\r\n\r\nAssuming it's just a copy&paste error that $regstring doesn't include quotation marks - \"ADFSMFAAdapters...\" (It fails like it should if I omit this.)\r\n\r\nRunning PowerShell as admin I assume? (Well, you probably wouldn't be able to get the dll into the GAC if not.)\r\n\r\nWhich build level is your server?"}}
{"actor":{"display_login":"ahelland"}}