mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 00:43:43 +08:00
11 lines
475 B
Ruby
11 lines
475 B
Ruby
# name: plugin-name
|
|
# about: about: my plugin
|
|
# version: 0.1
|
|
# authors: Frank Zappa
|
|
|
|
auth_provider :title => 'with Ubuntu',
|
|
:authenticator => Auth::OpenIdAuthenticator.new('ubuntu','https://login.ubuntu.com', trusted: true),
|
|
:message => 'Authenticating with Ubuntu (make sure pop up blockers are not enbaled)',
|
|
:frame_width => 1000, # the frame size used for the pop up window, overrides default
|
|
:frame_height => 800
|
|
|