Skip to content

Commit

Permalink
removed unsued route
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias-VE committed May 20, 2024
1 parent 346c866 commit d79a444
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions backend/web-bff/App/routes/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,7 @@ router.get('/signin', authProvider.login({
successRedirect: FRONTEND_URI,
}));

/**
* No longer used. TODO: remove
*
* Route that acquires a token for accessing the backend resource server.
* It stores this token in the session, it does not return the token.
*
* @route GET /web/auth/acquireToken
*/
router.get('/acquireToken', authProvider.acquireToken({
scopes: [msalConfig.auth.clientId + "/.default"],
redirectUri: REDIRECT_URI
}));


/**
* Route that starts the logout flow for msal.
Expand Down

0 comments on commit d79a444

Please sign in to comment.