WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Enable custom user authentication role for token refreshes #946

@Larspolo

Description

@Larspolo

Since #814 the TokenRefreshSerializer (correctly) validates the authentication of the user before continuing. However, initial validation might differ from the refresh validation. I dont think there is an option to change this. Would a solution be to add a REFRESH_USER_AUTHENTICATION_RULE setting which by default is USER_AUTHENTICATION_RULE?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions