ISP OAuth and AAA Setup
This guide is specific to ISPs and NSPs that already operate their own identity gateway.
Captive portals remain hosted locally on the client's own network gateway. Complete the OAuth onboarding prerequisites first, then point your captive portal at the returned WispHive URLs.
Registration prerequisites
An ISP registration must exist first. The registration record provides:
company_namecompany_emailcountryphone_number
Choosing a mode
OAuth integration prerequisites:
- Complete OAuth integration setup.
- Confirm callback and redirect flow success.
- Point your captive portal at the returned WispHive URLs.
Hosted OAuth
Choose hosted OAuth when you want captive portal logins to begin on a WispHive auth domain and your provider supports confidential-client flows.
AAA handoff
Choose AAA handoff when you already have a production login URL and only need to POST the authenticated user back to WispHive for redirect/session orchestration.
Recommended AAA handoff pattern for ISPs
- The captive portal uses your own OAuth login URL.
- Your OAuth backend authenticates the subscriber.
- Your backend POSTs only the assigned derived identifiers to the WispHive
callback_url. - WispHive returns a short-lived redirect URL.
- Your flow sends the browser to that redirect URL immediately.
Example callback payload
{
"entity_name": "MetroFiber ISP",
"userid": "a7df8a0f-d316-46d1-b0aa-552d5d886d34",
"derived_username": "metrofiber-45ef6-subscriber-7812",
"derived_email": "metrofiber-45ef6-subscriber-7812@metrofiber-45ef6.id.wisphive.net",
"user_session_id": "sess_01J2Y8R3BFC9F4ZP2K8M1Q4R1V",
"wisphive_token": "WH_Oid-a67d39t78sqcaRedsWte9_Kl90klhgyr37gHgfw-uiDlc35j9yUfa"
}