Skip to content

Commit

Permalink
omit endpoints that require AT from list of pass-through endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
zburke committed Oct 27, 2023
1 parent f9c1028 commit 99574d9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export const rtr = async (event) => {

/**
* isPermissibleRequest
* Some requests are always permissible, e.g. auth-n and token-rotation.
* Some requests are always permissible, e.g. auth-n and forgot-password.
* Others are only permissible if the Access Token is still valid.
*
* @param {Request} req clone of the original event.request object
Expand All @@ -199,8 +199,6 @@ export const isPermissibleRequest = (req, te, oUrl) => {
}

const permissible = [
'/authn/refresh',
'/bl-users/_self',
'/bl-users/forgotten/password',
'/bl-users/forgotten/username',
'/bl-users/login-with-expiry',
Expand Down

0 comments on commit 99574d9

Please sign in to comment.