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

Change cookie name. #383

Open
MortalKonga opened this issue Jul 30, 2024 · 1 comment
Open

Change cookie name. #383

MortalKonga opened this issue Jul 30, 2024 · 1 comment

Comments

@MortalKonga
Copy link

The default name is refresh_token. I'd like to change it to super_secret_cookie_name or something like that. Is that possible?

@mbabker
Copy link
Contributor

mbabker commented Jul 31, 2024

The token_parameter_name config node covers the name no matter if you're using a cookie or some other request parameter. Just note that if you change this, it affects all uses of the config value for both inputs and outputs. So if your app supports both a cookie and reading it from a JSON payload, then you need to use super_secret_cookie_name everywhere you're currently using refresh_token.

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

2 participants