Telegram OpenID API Test
Express backend · Authorization Code + PKCE · HTTP-only session
Session
Checking...
Actions
Lesson API examples
// Public: no authentication required
const lessons = await fetch('/lessons')
.then((response) => response.json());
// Private: sends the app_session cookie
const lesson = await fetch('/lesson/1', {
credentials: 'include',
}).then((response) => response.json());