Skip to content

NetCoreForce.ModelGenerator is using Username-Password Flow which has been disabled since Summer 23 #88

@wboyd-fuseit

Description

@wboyd-fuseit

When trying to use the NetCoreForce.ModelGenerator, the authentication will now always fail, as the code is using

await auth.UsernamePasswordAsync(config.AuthInfo.ClientId, config.AuthInfo.ClientSecret, config.AuthInfo.Username, config.AuthInfo.Password, config.AuthInfo.TokenRequestEndpoint);

It would be great if it used
await auth.TokenRefreshAsync(config.AuthInfo..RefreshToken, config.AuthInfo..ClientId, config.AuthInfo..Secret, config.AuthInfo..TokenRequestEndpoint);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions