Skip to content

[feature request] add auth_token #2

Description

@wessoll

It would be nice if you could add the authenticationToken to the add_device and delete_device actions. Otherwise there is no way of knowing which device_token corresponds to a particular user. You could easily do this by extracting the authenticationToken from the request header "Authorization" which consists out of "ApplePushNotifications yourAuthToken":

authenticationToken = request.headers["Authorization"]
authenticationToken["ApplePushNotifications "] = ""

Thnx for the repo btw.

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