-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Milestone
Description
Allow a plugin to register a callback that is invoked when the application is called via buildnotification:// uri protocol.
This is needed to implement OAuth flow:
- The plugin registers a callback (e.g. buildnotification://plugin/oauth_callback)
- The plugin triggers an oauth
- The browser redirects to buildnotification://plugin/oauth_callback
- The plugin's callback is called
Things to consider:
- Allow any url registration or just for oauth and other simple cases?
- Any registration would look like
RegisterCallback( this, 'any/url' )and register abuildnotifaction://any/url - By case would be something like
RegisterOAuthCallback( this )would register abuildnotifaction://oauth/plugin_name
- Any registration would look like
Reactions are currently unavailable