Skip to content

Commit

Permalink
fix(auth): oAuth apple mode validation 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBrisorgueil committed Nov 23, 2020
1 parent 9f63dd3 commit a4a249b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/auth/routes/auth.routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ module.exports = (app) => {
// Setting the oauth routes
app.route('/api/auth/:strategy').get(auth.oauthCall);
app.route('/api/auth/:strategy/callback').get(auth.oauthCallback);
app.route('/api/auth/:strategy/callback').post(auth.oauthCallback); // specific for apple call back
app.route('/api/auth/:strategy/callback').post(model.isValid(usersSchema.User), auth.oauthCallback); // specific for apple call back
};

0 comments on commit a4a249b

Please sign in to comment.