-
-
Notifications
You must be signed in to change notification settings - Fork 1
Please Do Not Ask For The User’s Scratch Username And Password #3
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
Comments
Right. I was thinking the scratch API would ensure the username exists, then generate a key (like an SSH key) for the pw.
|
I'll work on it now. The last thing we want is to scare away users, though the login is only stored locally. |
This comment has been minimized.
This comment has been minimized.
Got it. Also, I didn't realize Github didn't support PHP. I fixed it (so it just uses JavaScript), and I still think we're better off than before, but this is still something I have to make sure doesn't happen again... |
What about Scratch Auth? Do we need that? |
This comment has been minimized.
This comment has been minimized.
Great. I'm not sure Scratch Auth is possible due to API limitations, but as I mentioned, the user has to post their code on their profile. It can only be accessed via local storage, effectively getting rid of impersonation. |
It’s done |
Uh oh!
There was an error while loading. Please reload this page.
Please do not use their usernames and passwords for sign up, instead we could try to use the Scratch APi for comments, I could make an auth project and we could ask for the user’s username, ask them to comment a code (BUT MAKE IT DIFFRENT EVERYTIME), then when they press OK, it checks if and who commented the code. Then they get signed in with that user that was used to comment the generated code. Or you could use Scratch Auth.
Even if you don’t store it it could scare users off, the website could get deleted, and people can hack. It also says “sign in with scratch”.
The text was updated successfully, but these errors were encountered: