Skip to content

Real world examples of jwt refreshing tokens #1379

@leopucci

Description

@leopucci

Hi, thanks for your nice work so far.
I am struggling to find real world examples of modern code.
There are plenty of examples of old designed code, but not real world examples of this "rtk modern design" approach.

I already read the documentation and it just offers bits and pieces, there is no real world examples using modern design, just some pieces of auth.

I am using redux/axios/thunk to do using the old redux way with actions creators, reducers declared. but as I am building a new app, I am trying to use the new way of doing it and I am struggling with refreshing tokens.

Are there some complete login example, that the api code can handle the refresh tokens expiring, renewing, on this modern approach that you are aware of and could share with me?

Thanks
Pucci

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