# controller\_oauth2\_service\_authorize

Source: https://zotonic.com/docs/2185/controller_oauth2_service_authorize

URI: https://zotonic.com/id/2185

Language: en



Start an OAuth login with an external identity provider.

The configured service module supplies the provider authorization URL. The controller stores the service data and original request arguments in a signed, expiring state value, then renders the Cotonic worker that performs the redirect. The state expires after one hour.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2185?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2185?language=en>)
