Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

@reactor/auth — detectsessioninurl

@reactor/auth


@reactor/auth / detectSessionInUrl

detectSessionInUrl(): DetectedToken | null

Defined in: url-detect.ts:24

Detect session or verification tokens from URL.

Supports:

  • Query parameter: ?token=… (email verification, password reset)
  • Query parameter: ?invite_token=… (invitation acceptance)
  • Hash fragment: #access_token=…&refresh_token=… (OAuth)

DetectedToken | null