Skip to content

Additional parameters when requesting OAuth2 tokens #147

Open
@alot1

Description

@alot1

Hi,

We are using oauth2 to authenticate against our custom OpenID Connect identity provider.
We need to pass some additional parameters when requesting tokens.

The way we did this so far is

  1. added parameters we need as properties to oauth2_config
  2. oauth2_config::_request_token does append_query() for our additional properties

May be passing additional parameters when requesting tokens could be done in a better more generic way and be added to the cpprestsdk?

With regards,
Alexey.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions