Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarrosop committed Nov 3, 2023
1 parent f10c3e4 commit 87161bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/oauth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const oauthProviders = Router()
*
* The redirect url has been set in the previous middleware and is available in the locals
*/
.all(`${OAUTH_ROUTE}/:provider`, ({ headers: {host}, params: { provider } }, res, next) => {
.all(`${OAUTH_ROUTE}/:provider`, ({ headers: { host }, params: { provider } }, res, next) => {
const redirectTo: string = res.locals.redirectTo;
const providerConfig = grantConfig[provider];
// * Check if provider is enabled
Expand Down

0 comments on commit 87161bd

Please sign in to comment.