Skip to content

Allow options like max (age) to be passed from issueFor() to issue() #24

@gatos-jd

Description

@gatos-jd

https://github.com/solid/oidc-rp/blob/dcae9cbb484f2aa9b913bd6e7db8ab8d98373186/src/PoPToken.js#L36

solid-auth-client uses issueFor() to generate a PoPToken. There appears to be no way to pass the max option through issueFor() to issue() to change the default age of the token generated from DEFAULT_MAX_AGE to anything else.

In general, it would probably be good to have a version of issueFor() that takes an option hash and passes the values through to the issue() call.

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