Skip to content

Commit

Permalink
feat: show agent connect button
Browse files Browse the repository at this point in the history
  • Loading branch information
rdubigny committed Mar 22, 2024
1 parent 4a4d104 commit b4cb5a8
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 11 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ app.get("/", async (req, res, next) => {
userinfo: JSON.stringify(req.session.userinfo, null, 2),
idtoken: JSON.stringify(req.session.idtoken, null, 2),
oauth2token: JSON.stringify(req.session.oauth2token, null, 2),
showAgentConnectButton: process.env.SHOW_AGENTCONNECT_BUTTON === "true",
});
} catch (e) {
next(e);
Expand Down
Loading

0 comments on commit b4cb5a8

Please sign in to comment.