Is there a new version of Xamarin.OpenId.AppAuth.Android?

Viewed 481

I have been following an Okta tutorial from 2018 (which is the latest I can find) about adding OAuth to a Xamarin Forms and it references Xamarin.OpenId.AppAuth.Android which according to Nuget is prerelease (0.7) and also hasn't been updated since 2018.

This package won't work with my Xamarin app as it references an old v4 Android package and newer Xamarin uses v7 or AndroidX stuff.

So - is there a new package (updated <6 months ago) somewhere I can't find? Or is there a different method to do this now and if so - what is it?

Thanks in advance

First post, happy to edit / add info as needed, please just let me know

3 Answers

From what I have found, there is no direct upgrade for this and the solution is to simply use an alternative method. Personally, due to lack of knowledge in this space, I opted to use a different identity provider who had better support.

There are oauth libraries out there maintained by vendors in the identity and access management space. But this one seems to be more or less the official library to use with Xamarin apps: https://github.com/IdentityModel/IdentityModel.OidcClient

It is not maintained by a specific vendor, so it could be used with any of them with the proper configurations.

Related