Merge pull request #12442 from immobiliare/feat/allow-to-post-into-auth-refresh

Feat/allow to post into auth refresh
This commit is contained in:
Patrik Oldsberg
2022-07-05 19:09:40 +02:00
committed by GitHub
3 changed files with 7 additions and 0 deletions
@@ -140,6 +140,7 @@ export async function createRouter(
}
if (provider.refresh) {
r.get('/refresh', provider.refresh.bind(provider));
r.post('/refresh', provider.refresh.bind(provider));
}
router.use(`/${providerId}`, r);