Skip to content

auth.setAuth security issue? #36

@enyo

Description

@enyo

Hi,

I might be misunderstanding the code, but isn't this line a problem?

// hooks.ts

// ... inside the handle() function:
await auth.setAuth(session.access_token)
// ...

Since this code runs on the server, this would mean that all subsequent calls on auth will use the same session.access_token for all users?

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