Skip to content

Allow to emit the refresh token in the response body instead of a cookie #59

Description

@sun

Follow-up on #1 (comment)

Goal

  • Add an option or constant to emit the refresh token in the response body instead of a cookie.

Details

  • For security reasons with regard to web/browser clients, Added refresh token architecture. #33 implemented the refresh token only as a cookie.
  • In cases where no web (browser) apps are involved (e.g. only native apps), it would be secure to emit the refresh token as part of the token response body.

Notes

  • I have no use-case for this myself, so I will probably not implement it myself. PRs are welcome though.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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