Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Provide possibility for bearer-token #68

Open
BananaAcid opened this issue Feb 14, 2023 · 2 comments
Open

Provide possibility for bearer-token #68

BananaAcid opened this issue Feb 14, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@BananaAcid
Copy link

BananaAcid commented Feb 14, 2023

Describe the feature

Would it be possible to have an option to use bearer-tokes instead of the session-cookie?

Additional information

Could be helpful, uses "Authorisation: Bearer ...some...id..." as header, instead of the dreaded cookie header, using LocalStorage for saving client side.

Possibly circumvents restrictions on cookies, like if the session cookie name does not match a well known and usually not blocked name (like "SESSID", ...)

@BananaAcid BananaAcid added the enhancement New feature or request label Feb 14, 2023
@ceigey
Copy link

ceigey commented Jul 4, 2023

This also would allow you to use this library for non-Nuxt frontends too, e.g. native apps sharing your backend (which is a use case we're looking at)

@jay-p-b-7span
Copy link

jay-p-b-7span commented Jul 31, 2023

It will really be helpful. currently relying on localstorage and passing header manually.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants