Commit d38555d
Return json from magic code authenticate endpoint if no callback_url is given (#9012)
Match the behaviour of the email+password authenticate endpoint, and
return a json response if the `callback_url` is not passed to the magic
code authenticate endpoint.
---------
Co-authored-by: Scott Trinh <scott@edgedb.com>1 parent 87cdbad commit d38555d
1 file changed
+20
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1710 | 1710 | | |
1711 | 1711 | | |
1712 | 1712 | | |
1713 | | - | |
| 1713 | + | |
1714 | 1714 | | |
1715 | 1715 | | |
1716 | 1716 | | |
1717 | 1717 | | |
1718 | | - | |
1719 | 1718 | | |
1720 | 1719 | | |
1721 | | - | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
1722 | 1728 | | |
1723 | 1729 | | |
1724 | 1730 | | |
| |||
1761 | 1767 | | |
1762 | 1768 | | |
1763 | 1769 | | |
1764 | | - | |
1765 | | - | |
1766 | | - | |
1767 | | - | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
1768 | 1781 | | |
1769 | 1782 | | |
1770 | 1783 | | |
| |||
0 commit comments