Chris Wynn
f675fb63d4
Fix examples/javascript-auth signup (data -> session)
...
- Fixed minor bug in the example due to the removal of deprecated
data from the response:
492d6d70e8
Also addresses the comment here about data object not defined:
https://github.com/supabase/supabase/pull/4373#issue-1074085323
2022-02-01 13:40:14 +09:00
Harsh Karande
da694f1405
fix(example): javascript auth
2021-12-08 12:38:50 +05:30
Gaurav Singh
90f424629f
Update commit based on feedback
2021-05-02 19:25:35 +05:30
Gaurav Singh
35a3164647
Fix #1304 , Define the defualt behavior of signUp
...
- Updated auth example to handle this.
- signUp function now gives error if the user is already registered.
- signIn function gives error when invalid email or password is entered.
2021-04-29 21:19:52 +05:30
awalias
d0b3b37290
fix: vanilla auth update
2021-03-22 18:19:48 +08:00
PM
9ca4fb29d8
To fix error on Firefox 85.0.1 (Ubuntu 20.04)
...
On firefox, I got:
```
Uncaught TypeError: supabase.auth.user().then is not a function
fetchUserDetails http://192.168.1.230:8080/index.js:62
EventHandlerNonNull* http://192.168.1.230:8080/index.js:18
EventListener.handleEvent* http://192.168.1.230:8080/index.js:10
index.js:62:6
fetchUserDetails http://192.168.1.230:8080/index.js:62
fetchUserDetails self-hosted:1176
(Async: EventHandlerNonNull)
<anonymous> http://192.168.1.230:8080/index.js:18
(Async: EventListener.handleEvent)
<anonymous> http://192.168.1.230:8080/index.js:10
```
My solution might not be the best but it makes it work :)
Please continue showing examples about direct access from javascript client (like Firebase do).
2021-03-06 17:10:26 +01:00
Paul Copplestone
23c8d0e79f
Moves the remaining 2 examples to the new naming convention
2020-11-17 19:56:00 +08:00