Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » ScratchOAuth2 - A new way to verify Scratch users
- smileycreations15
-
1000+ posts
ScratchOAuth2 - A new way to verify Scratch users
ScratchOAuth2
ScratchVerifier is being deprecated, look at the bottom of this post to learn more.
ScratchOAuth2 is an implementation of the OAuth2 protocol for verifying Scratch users by kenny2scratch and Semisol (me) as Scratch does not have native support for it. The API + documentation is available at oauth2.scratch-wiki.info.
The source code is available on GitHub.
Features:
Note to SV users:
ScratchVerifier will be responding with 410 Gone to all API requests on 31 May and on 30 June it will redirect to the deprecation notice.
ScratchVerifier is being deprecated, look at the bottom of this post to learn more.
ScratchOAuth2 is an implementation of the OAuth2 protocol for verifying Scratch users by kenny2scratch and Semisol (me) as Scratch does not have native support for it. The API + documentation is available at oauth2.scratch-wiki.info.
The source code is available on GitHub.
Features:
- Allowing one login for potentially multiple sites
- Fixing some of the flaws found in SV
- Full implementation of redirect-flow OAuth2
Note to SV users:
ScratchVerifier will be responding with 410 Gone to all API requests on 31 May and on 30 June it will redirect to the deprecation notice.
- 9gr
-
1000+ posts
ScratchOAuth2 - A new way to verify Scratch users
Cool - Gonna test my website with it!
plz add my app thing
plz add my app thing
Last edited by 9gr (April 12, 2021 17:27:11)
- CST1229
-
1000+ posts
ScratchOAuth2 - A new way to verify Scratch users
Hold on are you an admin on the scratch wiki? Normal users can't make wiki subdomains
- 9gr
-
1000+ posts
ScratchOAuth2 - A new way to verify Scratch users
@kenny2scratch (who is an admin) is also developing this. Hold on are you an admin on the scratch wiki? Normal users can't make wiki subdomains
- smileycreations15
-
1000+ posts
ScratchOAuth2 - A new way to verify Scratch users
I am not. At all. Ken made the domain. Hold on are you an admin on the scratch wiki? Normal users can't make wiki subdomains
- 9gr
-
1000+ posts
ScratchOAuth2 - A new way to verify Scratch users
I'm trying the api and i don't understand what
is. Is it a string? I kept trying but my nodejs program always fails on getting the user with a base64-encoded token.
Bearer <base64 token>
- smileycreations15
-
1000+ posts
ScratchOAuth2 - A new way to verify Scratch users
It is a string. I'm trying the api and i don't understand whatis. Is it a string? I kept trying but my nodejs program always fails on getting the user with a base64-encoded token.Bearer <base64 token>
You send this header:
Authorization: Bearer token
Token is:
Buffer.from(“HEX TOKEN”).toString(“base64”)
Also, did you try getting the RT/AT (Access/Refresh token) first? It is needed to do this. (Also ATs expire after a while so you need to refresh them every so often with an RT, the expiration of both are given in the get token endpoint/refresh token endpoint)
- gdpr70f61245d597c25631fbb669
-
100+ posts
ScratchOAuth2 - A new way to verify Scratch users
Hmm, does this provide anything over FluffyScratch? It's interesting, but not sure where you plan to go with it in the future
- 9gr
-
1000+ posts
ScratchOAuth2 - A new way to verify Scratch users
FluffyScratch? It's interesting, but not sure where you plan to go with it in the futureit looks much more secure imo, but fluffyscratch is easier and better in certain aspects. Hmm, does this provide anything over
- smileycreations15
-
1000+ posts
ScratchOAuth2 - A new way to verify Scratch users
FluffyScratch? It's interesting, but not sure where you plan to go with it in the futureSSO and secured by the Wiki (I can't do anything even if I want). Hmm, does this provide anything over
I will provide a library for JS.FluffyScratch? It's interesting, but not sure where you plan to go with it in the futureit looks much more secure imo, but fluffyscratch is easier and better in certain aspects. Hmm, does this provide anything over
- Raihan142857
-
1000+ posts
ScratchOAuth2 - A new way to verify Scratch users
as far I can tell it's better because you can embed it in your webpage instead of redirecting to an ugly verification pageFluffyScratch? It's interesting, but not sure where you plan to go with it in the futureSSO and secured by the Wiki (I can't do anything even if I want). Hmm, does this provide anything overI will provide a library for JS.FluffyScratch? It's interesting, but not sure where you plan to go with it in the futureit looks much more secure imo, but fluffyscratch is easier and better in certain aspects. Hmm, does this provide anything over
- smileycreations15
-
1000+ posts
ScratchOAuth2 - A new way to verify Scratch users
well its the same..as far I can tell it's better because you can embed it in your webpage instead of redirecting to an ugly verification pageFluffyScratch? It's interesting, but not sure where you plan to go with it in the futureSSO and secured by the Wiki (I can't do anything even if I want). Hmm, does this provide anything overI will provide a library for JS.FluffyScratch? It's interesting, but not sure where you plan to go with it in the futureit looks much more secure imo, but fluffyscratch is easier and better in certain aspects. Hmm, does this provide anything over
Last edited by smileycreations15 (Aug. 25, 2022 00:45:40)
- smileycreations15
-
1000+ posts
ScratchOAuth2 - A new way to verify Scratch users
uhhhhh bump because I want to
bumps should have a roughly 24 hour delay
- Discussion Forums
- » Advanced Topics
-
» ScratchOAuth2 - A new way to verify Scratch users