Skip to content

Add custom url interception for beforeload#33

Open
eric-sofisoftwarellc wants to merge 1 commit intojpurcell:masterfrom
eric-sofisoftwarellc:master
Open

Add custom url interception for beforeload#33
eric-sofisoftwarellc wants to merge 1 commit intojpurcell:masterfrom
eric-sofisoftwarellc:master

Conversation

@eric-sofisoftwarellc
Copy link
Copy Markdown

If callback_url is specified when creating the BH instance, it can be intercepted before the webview loads it.
This tells us the auth step is done.

For example:
var BH = new BirdHouse({ ...
callback_url: "myfineapp://callback"
});

When this is found in the url for beforeload, we're done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant