Skip to content
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

Method Not Found: after IdentityModel package updated to 7.0.0 #554

Open
trevor-anthill opened this issue Sep 10, 2024 · 6 comments
Open

Comments

@trevor-anthill
Copy link

SDK you're using (please complete the following information):

  • Version 9.1.0
  • IdentityModel 7.0.0

Describe the bug
After updating to v9.1.0, and v7.0.0 of IdentityModel and removing the RestSharp package, attempting to connect my app to Xero api I get a Method not found exception when calling "client.BuildLoginUri();"

To Reproduce
Steps to reproduce the behavior:

  1. Install Xero.NetStandard.OAuth2 (9.1.0) and Xero.NetStandard.OAuth.Client (1.6.0) packages
  2. Update IdentityModel package to 7.0.0
  3. Create XeroConfiguration object
  4. Create XeroClient object with config object
  5. call client.BuildLoginUri();
  6. Exception is thrown

Expected behavior
Expected to have a URL to be returned from BuildLoginUri method

Screenshots
N/A

Copy link

PETOSS-581

Copy link

Thanks for raising an issue, a ticket has been created to track your request

@onuryavuzmeral
Copy link

Downgrading identity model to 5.2 worked for me.

@ReviveDigitalTeam
Copy link

We have been unable to upgrade these 2 packages for months due to this exact issue.
The issue appears to be the Xero.NetStandard.OAuth2Client package needs updating.

<PackageVersion Include="Microsoft.Identity.Abstractions" Version="6.0.0" />
<PackageVersion Include="IdentityModel" Version="6.2.0" />

When we upgrade these to v7+ we get method not found exception when calling "client.BuildLoginUri();"

@trevor-anthill
Copy link
Author

We have been unable to upgrade these 2 packages for months due to this exact issue. The issue appears to be the Xero.NetStandard.OAuth2Client package needs updating.

<PackageVersion Include="Microsoft.Identity.Abstractions" Version="6.0.0" />
<PackageVersion Include="IdentityModel" Version="6.2.0" />

When we upgrade these to v7+ we get method not found exception when calling "client.BuildLoginUri();"

I concur, the problem is not just the Xero.NetStandard.OAuth2 package needing an update, it's also the Xero.NetStandard.OAuth2Client nuget package that needs versioning.

@Hona
Copy link

Hona commented Nov 22, 2024

Was there any update on this getting triaged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants