Skip to content

Commit

Permalink
docs: update reame
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien2p authored Nov 7, 2022
1 parent bcd660a commit 48af15a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/medusa-plugin-auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ You need to set up your Google OAuth 2 credentials and content screen in your de
> **Tip**: Do not forget to set the `Authorised JavaScript origins` and `Authorised redirect URIs` with your localhost:port domain in your
> **credentials OAuth2 Client ID** in your developer console when you work locally.
> By default, the admin only allow to authenticate while the store create a new user of it does not exists yet.
> This behaviour can be changed and customise by specifying a custom verifyCallback in the configuration.
Then, in your medusa config plugins collection you can add the following configuration and update it according to your requirements

```ts
Expand Down Expand Up @@ -79,6 +82,7 @@ Here is the full configuration types
```typescript

export type AuthOptions = {
// ...
google?: {
clientID: string;
clientSecret: string;
Expand Down

0 comments on commit 48af15a

Please sign in to comment.