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

Make it easier to use wish by introducing a provider config in wish.js #5

Open
DominusKelvin opened this issue Jul 24, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@DominusKelvin
Copy link
Member

Currently to use wish, you need to call sails.wish.provider('github').redirect()

This is okay but for applications with just a single OAuth provider, it will be easier to call sails.wish.redirect() and set a provider property in wish.js

// config/wish.js
provider: 'github'
@DominusKelvin DominusKelvin self-assigned this Jul 24, 2023
@DominusKelvin DominusKelvin added the enhancement New feature or request label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant