Skip to content

GetAuthorizationRequestUrl ExecuteAsync with no cancellation token has bad signature #1193

Closed
@bgavrilMS

Description

@bgavrilMS

Which Version of MSAL are you using ?
3.0.8

Platform
all Confidential CLient

What authentication flow has the issue?
GetAuthorizationRequestUrl

Other? - please describe;

Repro

// This works
            Uri url = await cca.GetAuthorizationRequestUrl(scopes)
                 .ExecuteAsync(CancellationToken.None);

// This fails to compile
       Uri url = await cca.GetAuthorizationRequestUrl(scopes)
                 .ExecuteAsync();

Expected behavior
ExecuteAsync on this object should return an Uri on both overloads (ExecuteAsync() and ExecuteAsync(CancellationToken)

Actual behavior
ExecuteAsync() returns an AuthenticationRequest

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions