User declined
- Input
- ?error=access_denied&state=a1b2
- Expected output
- error text for access_denied
The template tells the user to try again from the app.
OAuth error page access_denied
When authorization fails, the service sends the user back to the redirect_uri with error (and sometimes error_description and error_uri) in place of the code. The page created from this template handles those parameters on its own and shows the right explanation for each code.
The template tells the user to try again from the app.
The service description shows without interpreting HTML.
The configuration (blocks, texts, theme) is serialized to JSON, compressed with deflate when that makes it smaller, and encoded as base64url in the path of the address: /en/p/[configuration]. When someone opens the link, the jkit.tools server decodes the path, validates it against a closed schema and draws the page. Nothing is written anywhere: whoever has the link has the page, and the same configuration always gives the same page. That is also why there is no way to edit or delete one later: to change it, create another link.
No. The default code receiver already shows the error when it arrives. A separate page helps if you want specific text for people who declined.
The same state sent in the request, including on errors. The page shows it in the parameters table, hidden until you ask.
Picking a template replaces the current page (you can undo it).
6 of 40 blocks. Reorder with the arrows.
Appears by itself when the service returns error. Hidden otherwise. If you do not add this block, the page still shows the error at the top.
Generating the link...
Copy the code below and paste it into the app that asked you to sign in.
Authorization code
SAMPLE-CODE-1234abcdWarning
Paste this code only into the app that asked you to sign in. It works once and only for a short time.
The preview uses the same drawing as the real page. Test parameters do not go into the link.
Builds the Lichess authorization address with the page link as the redirect_uri. Lichess needs no registration: client_id can be any text.
Replace CODE_CHALLENGE (SHA-256 of the code_verifier in base64url) and STATE with the values generated by your app. Only the S256 method is accepted. Then exchange the code with a POST to lichess.org/api/token using the same redirect_uri.
The builder runs in your browser and the draft stays in its local storage only. Because the whole page lives in the link, anyone with the address sees everything you write, so never put passwords or secrets in the blocks. When someone opens a page, the path and query of the address reach the jkit.tools server like on any website and may appear in standard access logs; the received parameters (such as the code) are removed from the address bar before ads or analytics load, and nothing is saved to a database.