Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
diksipav committed Dec 23, 2023
1 parent ae78f82 commit 83eba0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/auth-remix/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ npm install @edgedb/auth-remix
1. Initialize the client auth helper by passing configuration options to `createClientAuth()`. This will return a `RemixClientAuth` object which you can use in your components. You can skip this part if you find it unnecessary and provide all your data through the loader (the next step), but we suggest having the client auth too and use it directly in your components to get OAuth, BuiltinUI and signout URLs.

```ts
// app/services/auth.client.ts
// app/services/auth.ts

import createClientAuth, {
type RemixAuthOptions,
Expand Down
2 changes: 1 addition & 1 deletion packages/auth-remix/src/client.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type BuiltinOAuthProviderNames } from "@edgedb/auth-core";
import type { BuiltinOAuthProviderNames } from "@edgedb/auth-core";

export interface RemixAuthOptions {
baseUrl: string;
Expand Down

0 comments on commit 83eba0a

Please sign in to comment.