diff options
| author | mo khan <mo@mokhan.ca> | 2025-04-14 16:24:56 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-04-14 16:24:56 -0600 |
| commit | 7054f1a7383fab6d2e8c6dac131a0daf85ffdbe7 (patch) | |
| tree | 29fec56903a19801598a8ffb0664be8f8e29648d /app/controllers/sessions/controller.go | |
| parent | a8c6e1a4aee4a616cd7c73a39e579d7c9b63d720 (diff) | |
test: add placeholder for missing tests
Diffstat (limited to 'app/controllers/sessions/controller.go')
| -rw-r--r-- | app/controllers/sessions/controller.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/sessions/controller.go b/app/controllers/sessions/controller.go index ba3d112..7b6c871 100644 --- a/app/controllers/sessions/controller.go +++ b/app/controllers/sessions/controller.go @@ -20,6 +20,7 @@ func (c *Controller) MountTo(mux *http.ServeMux) { } func (c *Controller) New(w http.ResponseWriter, r *http.Request) { + // TODO:: Generate and store nonce and use as state param to compare as a CSRF token url := c.cfg.Config.AuthCodeURL("todo-csrf-token", oauth2.SetAuthURLParam("audience", "todo")) http.Redirect(w, r, url, http.StatusFound) } |
