steps towards creating auth cookie
This commit is contained in:
parent
3cf5700a3d
commit
95542a0f5a
1 changed files with 8 additions and 1 deletions
|
@ -5,10 +5,17 @@
|
|||
(:local-nicknames (:auth :scopes-auth)
|
||||
(:config :scopes/config)
|
||||
(:core :scopes/core)
|
||||
(:jwt :scopes/web/jwt)
|
||||
(:server :scopes/web/server)
|
||||
(:shape :scopes/shape)
|
||||
(:util :scopes/util))
|
||||
(:export #:login))
|
||||
|
||||
(in-package :scopes-auth/web)
|
||||
|
||||
(defun login (ctx msg)
|
||||
(core:echo ctx msg))
|
||||
(let* ((prc (auth:login (shape:data msg))))
|
||||
;(jwt:create ...)
|
||||
;(server:set-cookie ctx ...)
|
||||
;(core:echo ctx ...) ; render htmx response
|
||||
(core:echo ctx msg)))
|
||||
|
|
Loading…
Add table
Reference in a new issue