Clean baseline UI with PocketBase auth, OneNote delegated auth, note submit, and OneNote proof actions.

Server

Checking...

Graph App Token

Checking...

PocketBase User

Not logged in

1) Prism Notes Login

Uses PocketBase OAuth with Microsoft to validate the Prism Notes user session.

2) OneNote Connect

Gets delegated Graph token used for OneNote APIs.

Disconnected

3) Note + Sync

4) OneNote Proof (Direct Graph)

Creates a page via site-scoped endpoints — bypasses the me/onenote 5,000-item tenant limit.

Fetches sections from sites/czflex.sharepoint.com:/sites/Team/onenote/sections — site-scoped only, no tenant scan.

Output