Successful return
- Input
- ?code=Zx81...&state=a1b2
- Expected output
- code box: Zx81... | state: hidden until shown
The value is always text: a code with special characters shows as it came.
OAuth redirect page to show the code
The authorization code flow ends with the service sending the browser back to your redirect_uri with ?code=...&state=.... In apps that cannot listen on a local port, the simplest way is a page that shows that code and asks the user to paste it into the app. The builder below already opens on the right template: adjust the text, copy the link and use it as the redirect_uri.
The value is always text: a code with special characters shows as it came.
The common error codes have an explanation in both languages.
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.
Yes, as long as the provider accepts the address. Because the configuration is in the link, two versions of the text are two different links: generate one for each environment.
No. The code stays in the memory of the open tab and disappears on reload or close. Nothing is written to a database, an account or local storage.
The page reads fragment parameters (#access_token=...) and warns that a token differs from a code: it can be used directly, so it must not be shared.
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.