Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes the examples which had issues using ports in the routes #32

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

nhayfield
Copy link
Collaborator

Due to changes in core the examples stopped working because they used ports in the routes.

@@ -5,15 +5,16 @@ const app = express();
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'; //just for dev

app.get("/tofu", (request, response) => {
const jwtVerifier = new PomeriumVerifier({});
jwtVerifier.verifyJwt(request.get('X-Pomerium-Jwt-Assertion')).then(r => response.send(r))
const jwtVerifier = new PomeriumVerifier({expirationBuffer: 1000});
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we dig in deeper to the reasons we're observing timing issues on a local machine ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In a later pr

@nhayfield nhayfield merged commit 0d14002 into main Jan 16, 2024
1 check passed
@nhayfield nhayfield deleted the fixExampleFolders branch January 17, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants