Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question #75

Open
pwfraley opened this issue Apr 16, 2024 · 6 comments
Open

Question #75

pwfraley opened this issue Apr 16, 2024 · 6 comments

Comments

@pwfraley
Copy link
Contributor

I have a question, by default the localStorage Storage uses auth-tokens-${process.env.NODE_ENV} as a name for the local storage.

My Question:
What is the correct way to override this?

Thanks

@revmischa
Copy link
Member

Open a PR to add a configuration option perhaps

@pwfraley
Copy link
Contributor Author

So you are saying there is no way to configure this at the moment?

@revmischa
Copy link
Member

There is none that I know of, but you're welcome to add the capability

@pwfraley
Copy link
Contributor Author

I guess I will check into it, after my last pull request with the fix for the error in the readme is answered, since I do not know if this pull request was okay ;)

@Jerzor
Copy link

Jerzor commented May 6, 2024

I'd like to ask, is there any option to change token name in localstorage?
I mean default at localhost app is smth like auth-token-development (can't check it now), but I prefer to use my own key name.

@pwfraley
Copy link
Contributor Author

pwfraley commented May 6, 2024

I'd like to ask, is there any option to change token name in localstorage? I mean default at localhost app is smth like auth-token-development (can't check it now), but I prefer to use my own key name.

Unfortunately this does not seem to be possible as of now. I am planing to implement an override and then create a pull request, but have not had the time yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants