atinux / nuxt-auth-utils

Minimal Auth module for Nuxt 3.
MIT License
817 stars 78 forks source link

Verify Request Origin for session decoding #45

Open atinux opened 7 months ago

atinux commented 7 months ago

Similar to https://github.com/pilcrowOnPaper/oslo/blob/main/src/request/index.ts

We may want to use getRequestHost({ xForwardedHost: true }) (getRequestHost({ xForwardedHost: true }).)

harlan-zw commented 7 months ago

related https://github.com/unjs/h3/issues/504