File tree 4 files changed +16
-13
lines changed
4 files changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -134,3 +134,4 @@ iOSInjectionProject/
134
134
135
135
# Custom
136
136
.deriveddata
137
+ Secrets.swift
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import Foundation
2
+
3
+ let SUPABASE_URL = URL ( string: " https://{PROJECT_ID}.supabase.co/auth/v1 " ) !
4
+ let SUPABASE_API_KEY = " {ANON_KEY} "
Original file line number Diff line number Diff line change @@ -11,6 +11,17 @@ Oauth2:
11
11
- ` signIn ` with OAuth2 provider only return provider url. Users have to launch that url to continue the auth flow.
12
12
- After receiving callback uri from OAuth2 provider, use ` session(from url: URL) ` to parse session data.
13
13
14
+ ## Running Examples
15
+
16
+ For running the examples project you'll have to provide your own Supabase project.
17
+
18
+ ``` sh
19
+ $ cp Examples/Shared/Sources/_Secrets.swift Examples/Shared/Sources/Secrets.swift
20
+ $ Examples/Shared/Sources/Secrets.swift # Or use you favorite editor
21
+ ```
22
+
23
+ Replace ` {PROJECT_ID} ` and ` {ANON_KEY} ` with real values for your project on the Supabase portal.
24
+
14
25
Check [ Examples] ( /Examples ) for example usages.
15
26
16
27
## Contributing
@@ -25,7 +36,6 @@ Check [Examples](/Examples) for example usages.
25
36
26
37
This repo is licensed under MIT.
27
38
28
-
29
39
## Credits
30
40
31
41
- https://github.com/supabase/gotrue-js - ported from supabase/gotrue-js fork
You can’t perform that action at this time.
0 commit comments