Skip to content
Zotonic
  • Start
  • Cookbook
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Controllers ยท mod_oauth2
  • Reference
  • Integrator
  • Authentication
  • Routing and redirects
  • Controller
  • HTTP
  • OAuth 2.0

controller_oauth2_service_redirect

Module

mod_oauth2

Complete the browser-facing redirect step of an external OAuth login.

The controller renders the Cotonic OAuth completion worker with the returned state value. The worker validates the signed state and continues the login handshake with the configured service module.

Edit on GitHub

Related documentation

Controllers

controller_oauth2_access_token

Exchange OAuth 2.0 credentials for a bearer access token.

Controllers

controller_oauth2_service_authorize

Start an OAuth login with an external identity provider.

Models

oauth2_consumer

Model for OAuth2 consumer configuration and token access, including consumer lists and per-consumer token retrieval.

Modules

mod_facebook

The mod_facebook module plugs into the authentication system to enable Facebook login on your site.

Modules

mod_microsoft

Adds logon using the Microsoft identity platform.

Modules

mod_linkedin

The mod_linkedin module plugs into the authentication system to enable LinkedIn login on your site.

Controllers

controller_id

Handle different content representations of a page.

Controllers

controller_website_redirect

This controller does a redirect to the website property of the given resource.

Controllers

controller_redirect

Redirect to another url.

GitHub © 2026 Zotonic