Description
SDK you're using (please complete the following information):
- Version: Xero.NetStandard.OAuth2 - 9.2.0.
Xero.NetStandard.OAuth2Client - 1.6.0
IdentityModel - 7.0.0
Describe the bug
When attempting to authorise via Pkce, I am getting an exception on client.BuildLoginUriPkce(codeverifier)
, in:
Public Function GetLoginURI() As String
codeverifier = GetRandomString()
Return client.BuildLoginUriPkce(codeverifier)
End Function
Exception Text:
System.MissingMethodException: 'Method not found: 'System.String IdentityModel.Client.RequestUrlExtensions.CreateAuthorizeUrl(IdentityModel.Client.RequestUrl, System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.Nullable
1, System.String, System.String, IdentityModel.Client.Parameters)'.'`
To Reproduce
Steps to reproduce the behavior:
- Initiate an instance of XeroClient with XeroConfiguration
- generate a codeverifier string
- call client.BuildLoginUriPkce(codeverifier)
Expected behavior
Pkce auth flow to run without exception
Screenshots
I don't think necessary
Additional context
Have been using the SDK for a number of years without issue. May have recently updated NuGet package to latest version. This may be a reoccurrence of ticket #384