auth-module icon indicating copy to clipboard operation
auth-module copied to clipboard

Cannot customize the Token name?

Open linda8167 opened this issue 8 years ago • 6 comments

Version

v4.1.0

Reproduction link

https://nuxt-auth.herokuapp.com/

Steps to reproduce

4.0.0. Rc3 upgraded to 4.1.0

What is expected ?

auth._token=Bearer%20..................................

What is actually happening?

auth.strategy=local; auth._token.local=Bearer%20..................................

Additional comments?

How do I define the full name of a Cookie?

This bug report is available on Nuxt.js community (#c97)

linda8167 avatar Apr 10 '18 02:04 linda8167

Have you used the configurable options?

benmccallum avatar Apr 10 '18 08:04 benmccallum

I used version 4.1.0, I didn't find in the defaults.js

linda8167 avatar Apr 10 '18 13:04 linda8167

No worries, with those options configured did it work for you? Feel free to close the issue if it did!

benmccallum avatar Apr 10 '18 13:04 benmccallum

That option is not use anymore, I looked it up in source code. My related issue #122

Sheby avatar Apr 10 '18 14:04 Sheby

You can read how to configure/customize here: https://auth.nuxtjs.org/getting-started/options#token

I think this issue can be closed?

PJLindsay avatar Feb 07 '19 22:02 PJLindsay

This seems to now work still in 2020. Experiencing this with latest version.

orafal-dev avatar Feb 13 '20 16:02 orafal-dev