Skip to content

Allow authentication with json in body, rather than query params #164

@dmorrow

Description

@dmorrow

What is the issue?

It is challenging to authenticate to an endpoint that expects JSON in the POST body, rather than the a url-encoded string

Any improvements you suggest

Currently, we are trying to subclass HttpAuthorizer to reimplement the authorize() method. However, we need to overwrite this entire method to change a few lines.

In the Swift library, its as simple as building a URLRequest in the requestFor() method. Can it be this easy in Java too ? 😄


CC @pusher/mobile

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