Skip to content

appsettings.json OAuth example #237

@andreylima

Description

@andreylima

I'm trying to run "UploadClickConversionsRequest", but I'm working with .Net Core 3.1 that doesn't use the app.config, but the appsetting.json instead.

Does someone have an example of authentication in this case?

When I try to send the conversion I get this error:
RpcException: Status(StatusCode="Unavailable", Detail="Getting metadata from plugin failed with error: Exception occurred in metadata credentials plugin. Google.Apis.Auth.OAuth2.Responses.TokenResponseException: Error:"invalid_request", Description:"Missing required parameter: refresh_token",

Thanks
Andrey Lima

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions