sebsel / gimme-a-token Goto Github PK
View Code? Open in Web Editor NEWHelper for obtaining an IndieAuth token
Home Page: https://gimme-a-token.5eb.nl/
Helper for obtaining an IndieAuth token
Home Page: https://gimme-a-token.5eb.nl/
According to the spec, the state parameter is required as a parameter when making authentication and authorization requests:
I don't think gimme-a-token is provided the state parameter - if I use it to make an auth request to my endpoint, it is missing. (If I append a made up state value to the query string, the rest of the flow works fine.)
The main goal of the tool is to be totally client-side, which makes it harder to call out to discover the right URLs (can't call cross domain for all URLs).
I could improve the documentation to point to the public XRay, which makes it easier to discover the right rel-links for the user.
In the newer changes to IndieAuth, https://indieauth.spec.indieweb.org/#changes-from-26-september-2020-to-26-november-2020 mentions the use of PKCE for more security.
the .dev TLD was never reserved to never exist, and one can indeed now register .dev domains, and I now could register nonexisting-domain.dev (it seems to be still available).
Options:
Use one of .example
or .invalid
, which (among others) RFC2606 explicitly reserves.
".example" is recommended for use in documentation or as examples.
".invalid" is intended for use in online construction of domain
names that are sure to be invalid and which it is obvious at a
glance are invalid.
Maybe use the me
url, assuming that wrongly sending the data there is at least safe since it's owned by the person testing.
I also considered using a "weird" url-scheme, but is more likely to be rejected I think.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.