diff --git a/README.md b/README.md
index 04c09b6..a21a91a 100644
--- a/README.md
+++ b/README.md
@@ -2,18 +2,6 @@
Zero standard authentication support for Nuxt
-
-
-
-
@@ -30,6 +18,7 @@
**🚧 please see [status page](http://auth.nuxtjs.org/status) in documentation.** -->
+
## Development
Running demo for development:
@@ -47,6 +36,53 @@ $ yarn nuxt build test/fixture
$ yarn jest
```
+## Example
+
+#### nuxt.config.ts
+
+[//]: # (> **Note**: CommonJS usage )
+
+[//]: # (> In order to gain the TypeScript typings (for intellisense / autocomplete) while using CommonJS imports with `require()`, use the following approach:)
+
+
+```
+ auth: {
+ cookie: {
+ options: {
+ httpOnly: true,
+ secure: true,
+ sameSite: 'Lax',
+ priority: 'high',
+ //maxAge: 24 * 60 * 60 * 1000,
+ },
+ prefix: '__Secure-auth.',
+ },
+ strategies: {
+ "2fa": {
+ active: true,
+ scheme: 'local',
+ },
+ local: {
+ "2fa": {
+ checker: {url: '/oauth/token', method: 'post'},
+ generator: {url: '/oauth/token', method: 'post'},
+ },
+ token: {
+ property: 'access_token',
+ },
+ user: {
+ property: 'profile',
+ },
+ endpoints: {
+ login: {url: '/oauth/token', method: 'post'},
+ user: {url: '/api/admin/profile', method: 'get'},
+ logout: false,
+ },
+ },
+ }
+},
+```
+
## License
[MIT License](./LICENSE) - Copyright (c) Nuxt Community