Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass along a callback to signal waterline readiness #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Pass along a callback to signal waterline readiness #44

wants to merge 1 commit into from

Conversation

gilgamez
Copy link

@gilgamez gilgamez commented Apr 7, 2016

This fixes #43.
When using oidc.use middleware in a route, there is a brief moment at startup that modelling/waterline haven't finished starting up. Modelling provides a callback for that and this gives you the option to pass along your own callback through the OpenIDConnect constructor.

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.

No way to know when modelling and waterline have finished initializing
1 participant