Skip to content

Commit

Permalink
docs: mention SSO login setup for directus +v10.10 (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
becem-gharbi authored Mar 8, 2024
1 parent 1886a81 commit bb3750a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@ To use graphql subscription make sure to set

## Auth

Directus and Nuxt apps should share the same domain name because cookies's sameSite policy is set to `lax`. Also make sure to add `NODE_OPTIONS=--dns-result-order=ipv4first` env in development in order to resolve localhost domain for Node +v17.
> [!IMPORTANT]
> - Directus and Nuxt apps should share the same domain name because cookies's sameSite policy is set to `lax`.
> - Make sure to add `NODE_OPTIONS=--dns-result-order=ipv4first` env variable in order to resolve `localhost` domain on Node +v17.
> - For SSO login please make sure to set `AUTH_<PROVIDER>_MODE=cookie` env variable on Directus +v10.10.
The module has `useDirectusAuth` composable for handling authentication.

Expand Down

0 comments on commit bb3750a

Please sign in to comment.