@dymo-api/better-auth 1.2.27 → 1.2.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -31,15 +31,15 @@ You can see the library documentation by clicking [here](https://docs.tpeoficial
31
31
  Use one of the following commands to install **Dymo API** in your `TS`/`JS` project.
32
32
 
33
33
  ```bash
34
- npm i @dymo-api/better-auth
34
+ npm cache clean --force && npm i @dymo-api/better-auth
35
35
 
36
36
  # or
37
37
 
38
- pnpm i @dymo-api/better-auth
38
+ pnpm cache clean --force && pnpm i @dymo-api/better-auth
39
39
 
40
40
  # or
41
41
 
42
- yarn add @dymo-api/better-auth
42
+ yarn cache clean --force && yarn add @dymo-api/better-auth
43
43
  ```
44
44
 
45
45
  #### Authenticating ourselves on the client with the API Key
@@ -94,4 +94,14 @@ export const auth = betterAuth({
94
94
  });
95
95
  ```
96
96
 
97
- More types of validations coming soon to keep you protected.
97
+ More types of validations coming soon to keep you protected.
98
+
99
+ ## Frequently Asked Questions
100
+
101
+ <details>
102
+ <summary>Email mismatch error when logging in with Google and others</summary>
103
+
104
+ **Dymo API** normalizes the email by default, removing, for example, the `.` and `+` from the email based on the specific provider, which means that if you are not also normalizing the email in the login via OAuth, you will get a mismatch error.
105
+
106
+ To do this, you have two options: the first and correct one would be to also normalize the login email, and the second would be to disable normalization using `normalize: false`.
107
+ </details>