tangled
alpha
login
or
join now
dunkirk.sh
/
indiko
6
fork
atom
my own indieAuth provider!
indiko.dunkirk.sh/docs
indieauth
oauth2-server
6
fork
atom
overview
issues
pulls
pipelines
feat: more logging
dunkirk.sh
2 months ago
972daca4
ad135326
verified
This commit was signed with the committer's
known signature
.
dunkirk.sh
SSH Key Fingerprint:
SHA256:DqcG0RXYExE26KiWo3VxJnsxswN1QNfTBvB+bdSpk80=
+2
-1
1 changed file
expand all
collapse all
unified
split
src
routes
indieauth.ts
+2
-1
src/routes/indieauth.ts
···
1839
1839
1840
1840
// Validate that the user controls the requested me parameter
1841
1841
if (authcode.me && authcode.me !== meValue) {
1842
1842
+
console.error("Token endpoint: me mismatch", { requested: authcode.me, actual: meValue });
1842
1843
return Response.json(
1843
1844
{
1844
1845
error: "invalid_grant",
···
1881
1882
response.role = permission.role;
1882
1883
}
1883
1884
1884
1884
-
1885
1885
+
console.log("Token endpoint: success", { me: meValue, scopes: scopes.join(" ") });
1885
1886
1886
1887
return Response.json(response, {
1887
1888
headers: {