Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » ScratchOAuth2 - A new way to verify Scratch users
- smileycreations15
-
Scratcher
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
-
Scratcher
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
-
Scratcher
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
-
Scratcher
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@kenny2scratch (who is an admin) is also developing this.
- smileycreations15
-
Scratcher
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 subdomainsI am not. At all. Ken made the domain.
- 9gr
-
Scratcher
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
-
Scratcher
1000+ posts
ScratchOAuth2 - A new way to verify Scratch users
I'm trying the api and i don't understand whatIt is a string.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>
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
-
Scratcher
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
-
Scratcher
1000+ 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 futureit looks much more secure imo, but fluffyscratch is easier and better in certain aspects.
- smileycreations15
-
Scratcher
1000+ 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 futureSSO and secured by the Wiki (I can't do anything even if I want).
I will provide a library for JS.Hmm, does this provide anything over 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.
- Raihan142857
-
Scratcher
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 pageHmm, does this provide anything over 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).I will provide a library for JS.Hmm, does this provide anything over 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.
- smileycreations15
-
Scratcher
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 pageHmm, does this provide anything over 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).I will provide a library for JS.Hmm, does this provide anything over 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.
Last edited by smileycreations15 (Aug. 25, 2022 00:45:40)
- smileycreations15
-
Scratcher
1000+ posts
ScratchOAuth2 - A new way to verify Scratch users
bump because I want touhhhhh
bumps should have a roughly 24 hour delay
- -CXCE-
-
Scratcher
14 posts
ScratchOAuth2 - A new way to verify Scratch users
6af4a:e681a:0dacb:0ae3a:d9552:dc1ec:14b34:52782:efcd8:42e9c:1ff5a:9862f:ea58 what does it say?
- MrOriley2011
-
Scratcher
4 posts
ScratchOAuth2 - A new way to verify Scratch users
We Should add Catblocks back! PLS
- PaxtonPenguin
-
Scratcher
100+ posts
ScratchOAuth2 - A new way to verify Scratch users
We Should add Catblocks back! PLSThis is not the forum post for that, also they've rejected that suggestion multiple times
- Discussion Forums
- » Advanced Topics
-
» ScratchOAuth2 - A new way to verify Scratch users







