2013-08-01 13:59:57 +08:00
|
|
|
# name: plugin-name
|
|
|
|
# about: about: my plugin
|
|
|
|
# version: 0.1
|
|
|
|
# authors: Frank Zappa
|
|
|
|
|
2017-07-28 09:20:09 +08:00
|
|
|
auth_provider title: 'with Ubuntu',
|
2018-07-23 23:51:57 +08:00
|
|
|
authenticator: Auth::OpenIdAuthenticator.new('ubuntu', 'https://login.ubuntu.com', 'ubuntu_login_enabled', trusted: true),
|
2017-07-28 09:20:09 +08:00
|
|
|
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
|
2018-07-31 23:18:50 +08:00
|
|
|
|
|
|
|
register_javascript <<JS
|
|
|
|
console.log("Hello world")
|
|
|
|
JS
|