Skip to content

custom value for state variable? #21

@malle-pietje

Description

@malle-pietje

Hi, I love the complete oauth solution provided with oauth.io, oauthd and the various libraries. For a specific application I require the ability to have a custom value for "state" in the json payload. Now it contains a random string generated by this method:
public function generateStateToken()
Would it be an idea to add the ability to customise this somehow? Of course I can easily extend the class myself but I can imagine others could use this functionality as well?

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