Skip to content

[Auth][OIDC] Transition plan from IdentityModel/Duende #2875

Description

@kazo0

We need to determine if we can move away from IdentityModel.OidcClient as the underlying implementation for the OidcAuthenticationProvider. This is not deprecated and replaced with Duende IdentityModel and it isn't clear whether we should be moving to this as this may be a paid service.

Need to discuss options with @carldebilly / @nickrandolph

Activity

  1. self-assigned this
    on Jul 31, 2025
  2. DevTKSS commented on Jul 31, 2025

    @DevTKSS
    Contributor

    I think OpenIdDict could be a at least free option #2870

    Could the team please check if there might be any possibility to get kind of abstraction levels into that, which we then would be able to use already with "just" custom?

    Like important would be that there would be a replacement for the Duende package provided secret which includes also having a pkce challenge option or a seperate oAuth2 option could also be an option which we seem to kind of already have for Windows target but not documented or public available through our IAuthenticationService interface

  3. added theissue type on Aug 19, 2025
  4. removed their assignment
    on Sep 23, 2025
  5. DevTKSS commented on Sep 26, 2025

    @DevTKSS
    Contributor

    @kazo0 a point to consider for this to be made change I would like to add:

    • Could we have the Xamarin [...] Browser Package updated?

    The reason(s) for this:

    • If we need to use them to for example embedd Google advertisements banners in our apps (you could search the discord server for the user that did this) limiting the version to net 8

    Would suggest the OpenIdDict package for oidc future plans to consider:

    • the OpenIdDict.Client.SystemIntegration Nuget we would need to use in our app does require that higher Xamarin packages version

    • seen this OpenIdDict package also enable OAuth2 🤔 just on Windows target in that sample but generally the package seems to work on other targets too.

    • Only limitation of it could potentially be the UWP/ Win32 Desktop target but this may be solve-able with a proper Desktop target support for the WebAuthenticationBrokerProvider.

    • Also good for this (used by current web and oidc auth extensions) would be to maybe allowing to DI inject the Interface by adding another ctor on the WebAuthenticationBroker thats encapsulating the platform specific implementation for example also used by our current Web and oidc auth provider and by that have the uno ApiExtension Attribute problem surrounded, which makes the build fail if we create this implementation but have SOC applied.

    Could be easily done like here on the WebAuthenticationProvier

  6. DevTKSS commented on Sep 26, 2025

    @DevTKSS
    Contributor

    Should be fixed alongside with the transition:

  7. changed the issue type fromtoon Oct 29, 2025
  8. changed the issue type fromtoon Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions