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 about security. #1615

Open
ApoloIslaio opened this issue Nov 16, 2023 · 1 comment
Open

Question about security. #1615

ApoloIslaio opened this issue Nov 16, 2023 · 1 comment

Comments

@ApoloIslaio
Copy link

I'm new to Rails and I don't understand how to use access_token.
When the user resets the password ( /auth/password/ ), the access_token parameter goes by the url, right? Is this safe? In the url anyone with malicious intent could get the access_token, change the user's password and enter the system, am I wrong?

In the case of the system I am developing, security is very important as it is a fintech that will deal with the user's money.

I'm sorry if this is a silly question, but I really don't understand and I'm afraid the security will fail.

@MaicolBen
Copy link
Collaborator

They should have access to your email or the victim share the URL before using it somehow? That's like you sharing your password. I don't think is an application security issue but if you come up with better ideas (like using magic codes) let me know.

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

No branches or pull requests

2 participants