Commit Graph
3 Commits
Author SHA1 Message Date
Simon HaandAlaister Young 203d9e4c1e bug: fix sign-in when returnTo=sign-in (#24893)
* bug: fix sign-in when returnTo=sign-in

- default redirect to /projects instead

* Update apps/studio/components/interfaces/SignIn/SignInForm.tsx

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-05-06 17:38:39 +10:00
Simon HaandCharis 597c554e7a [WIP] 20771/fix auth get user for edge functions (#23155)
* docs: fix RPC sql example

* docs: fix auth.getUser() calls to use auth.getUser(jwt)

- add lines to get token before calling auth.getUser() as session is not
set after setting authHeader in client

* Apply suggestions from code review

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-30 20:34:58 +00:00
Simon HaandCharis 119b008869 docs: fix #22882 RPC sql example (#22883)
docs: fix RPC sql example

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-18 21:11:48 +00:00