Continue with IrotechLab
Drop-in OAuth button — add IrotechLab sign-in to any site in seconds.
Get one at /developer/new.
Live previews
Copy the snippet
Paste this HTML anywhere to add IrotechLab sign-in.
<a href="https://auth.irotechlab.xi.to/api/oauth/widget?client_id=iro_your_client_id"
class="iro-widget iro-widget-brand iro-widget-md iro-widget-rounded">
<span class="iro-widget-mark" style="width:22px;height:22px">
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" fill="none">
<g fill="none" stroke="currentColor" stroke-width="6" stroke-linejoin="round" stroke-linecap="round">
<circle cx="50" cy="18" r="8" fill="currentColor" stroke="none"/>
<path d="M 25 30 L 75 30 L 75 55 Q 75 75 50 88 Q 25 75 25 55 Z"/>
<circle cx="50" cy="52" r="5" fill="currentColor" stroke="none"/>
<rect x="47.4" y="55" width="5" height="11" rx="2.5" fill="currentColor" stroke="none"/>
</g>
</svg>
</span>
<span>Continue with IrotechLab</span>
</a>How it works
- Button points at
/api/oauth/widget?client_id=YOUR_ID - The server generates PKCE, sets a cookie, and redirects to
/api/oauth/authorize - User logs in, approves consent
- Browser redirects back to your registered callback with
?code=...&state=... - Your server exchanges the code at
/api/oauth/token