Skip to content

[Auth][OIDC] ][Options][Configuration] Missing Properties TokenEndpoint and UserInfoEndpoint for oidcAuth & WebAuthenticationOptions #2874

Open

Description

@DevTKSS

Current behavior

Setting the OidcClientOptions > ProviderInformation requires entering Oidc Package Props instead of direct extensions handled from the OidcAuthorizationBuilder:

  • TokenEndpoint

  • UserInfoEndpoint

  • FilterClaims

  • Windows target seems to not provide any https:// prefixed url ? => not working for this api

  • Desktop Target Breaks on "OnLaunched" with "StackOverflowException" (no more details available)

  • Web Auth also does not have any of those Properties we could set via options/configuration

Expected behavior

these Options Members should be:

  • Should be available to be configured throught IOptions
  • set-able through just like AddOidc(configure => configure.Authority( without beeing required to use the Duende.IdentityModel.OidcClientOptions in case this package would might get replaced in any future, this direct access through the Uno Extension provided OidcAuthenticationBuilderExtensions Methods would reduce future breaking changes on Uno Consumers
  • Should be also available via any non oidc specific authentication, then also with web auth, or consider adding - [Auth][OAuth2] Add oAuth2 as official Authentication option? #2870 which could

Theoretically Workaround

set through the ProviderInformation Property like this

Image

but still does not work using oidc on wasm!

clicking on Login does NOTHING,

My only idea as workaround is currently to not use auth extensions at all from uno and instead just use http with EndpointOptions which will be definitely a pain in the a* or maybe I have to do something like OpenIdDict

How to reproduce it (as minimally and precisely as possible)

  • Look into the documentation -> not told to be available
  • Look into the src -> Not checked for

Environment

Windows 11 Pro

Nuget Package (s):

Package Version(s):

Affected platform(s):

  • all Platforms
  • Build tasks

Visual Studio:

  • Visual Studio 2022 17.14.9

Relevant plugins:

  • Resharper (version: )

Anything else we need to know?

not missunderstand as duplicate of the oidc not working at all on wasm (tryed this on android, desktop, windows, nothing works)
this is about that those Options or Settings are missing on the appsettings provided ones to be set for if we do not have a oidc then a oAuth2 api to make calls to, so you do not have any discovery endpoint.

tryed with uno sdk 6.0.146 and 6.1.23

Activity

  1. added
    kind/bug
    triage/untriaged
    on Jul 30, 2025
  2. DevTKSS commented on Jul 31, 2025

    @DevTKSS
    ContributorAuthor

    @kazo0 could you sort this here in to your mentioned plan for future consideration for auth?

    I would currently know not one of our auth options that would cover his Endpoint options to be available in appsettings. Seems like my only chance is to reuse OpenIdDict (free?) or re-write pkce + oAuth2 for this and use "just" refit🫣

  3. added theissue type on Aug 7, 2025
  4. removed
    kind/bug
    triage/untriaged
    on Nov 25, 2025
  5. changed the title [-][Authentication][Options][Configuration] Missing Properties TokenEndpoint and UserInfoEndpoint for oidcAuth & WebAuthenticationOptions[/-] [+][Auth[OIDC] ][Options][Configuration] Missing Properties TokenEndpoint and UserInfoEndpoint for oidcAuth & WebAuthenticationOptions[/+] on Nov 25, 2025
  6. changed the title [-][Auth[OIDC] ][Options][Configuration] Missing Properties TokenEndpoint and UserInfoEndpoint for oidcAuth & WebAuthenticationOptions[/-] [+][Auth][OIDC] ][Options][Configuration] Missing Properties TokenEndpoint and UserInfoEndpoint for oidcAuth & WebAuthenticationOptions[/+] on Nov 25, 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

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions