semagraph04/12/2023, 3:00 AM
package been updated to reflect this)
rp04/12/2023, 5:23 AM
directive on the frontend files to use SessionAuth. For backend middleware, you will still need to use the
directory. For backend session verification, right now, there is no easy way to use the verifySession function in the app dir. If you want to use it in there, you will have to pass a mocked
object which conforms with the
structure, and then relay the tokens set in that to the actual nextresponse object. We are working on making changes to our sdk to support these in a better way.