Skip to content

How is the /refresh-token in this example secure? #22

@RoelRoel

Description

@RoelRoel

I think I am missing something but it seems to me that when you try an endless amount of random uuid's at the refresh-token endpoint at some point you get an jwt of a random user?

Probably this is secure because of guessing a random uuid is almost impossible.

But why can it be saved unencrypted to a database while you would save a password hashed? Because if your database is compromised you can login with it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions