Skip to content

Commit

Permalink
Move comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Oct 3, 2023
1 parent dbc027e commit 1ac8cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resources/oidc.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const callbackCookieProps = {
path: '/v1/oidc/callback',
};

// id=cl only set for playwright. Why can't it locate this anchor in any other way?
const loaderTemplate = `
<!doctype html>
<html>
Expand Down Expand Up @@ -161,7 +162,6 @@ module.exports = (service, endpoint) => {
// return redirect(303, nextPath);
// Instead, we need to render a page and then "browse" from that page to the normal frontend:

// id=cl only set for playwright. Why can't it locate this anchor in any other way?
return render(loaderTemplate, { nextPath });
} catch (err) {
if (redirect.isRedirect(err)) {
Expand Down

0 comments on commit 1ac8cf7

Please sign in to comment.