Commit graph

217 commits

Author SHA1 Message Date
Steven Nguyen
c52bf2a0a1
fix(auth): Don't use email in place for name for Apple OAuth2
Apple OAuth2 does not return the user's name in the claims and so we
used email instead, but this can look broken to users and developers to
see an email where the name should be.
2024-05-08 16:35:17 -07:00
Eldad Fux
45a140c1f7 Fixed wrong refresh var for Autodesk 2024-04-01 15:10:43 +02:00
Torsten Dittmann
0a1d572c72 chore: run formatter 2024-03-06 18:34:21 +01:00
Steven Nguyen
4ace8ed027
Replace catching \Exception with \Throwable
\Exception doesn't work as a catch-all because not everything extends
\Exception. For example, there was a problem where the messaging worker
didn't catch an exception here:

} catch (\Exception $e) {
    $deliveryErrors[] = 'Failed sending to targets ' . $batchIndex + 1 . '-' . \count($batch) . ' with error: ' . $e->getMessage();
} finally {

As such, $deliveryErrors stayed as an empty array. In this case, the
$adapter->send() threw a TypeError which extends Error which implements
Throwable. Updating the catch to catch \Throwable ensures the error is
caught and $deliveryErrors gets updated.
2024-02-08 01:17:54 +00:00
Utkarsh Ahuja
c4ab4ca16a
fix: lint errors 2024-01-02 13:15:07 +05:30
Utkarsh Ahuja
70916ad1aa fix: removed authEndpoint 2024-01-02 10:13:46 +05:30
Utkarsh Ahuja
acebe54e5e fix: email verified false on null 2023-12-31 19:27:12 +05:30
Utkarsh Ahuja
09cec17285 added Zoho OAuth class 2023-12-29 17:43:07 +00:00
Akhil Anand
5ba6491dd5 fix-6212-Issue-With-Linkedin-OAuth 2023-09-14 13:16:45 +05:30
Akhil Anand
2aa788d7d5 fix-6212-Issue-With-Linkedin-OAuth 2023-09-13 21:31:26 +05:30
Matej Bačo
79726dbfb6 Fix formatting 2023-09-05 13:16:20 +02:00
Matej Bačo
1b9236ba3f Improve VCS error when creating repository 2023-09-05 11:48:23 +02:00
Bradley Schofield
7fedac9306
Handle Eldad Suggestions 2023-08-16 19:08:24 +01:00
Bradley Schofield
47b10fa82b
Implement IAM Custom Roles 2023-08-16 18:17:20 +01:00
Bradley Schofield
a0cd65b94b
Fix Migrations Stability 2023-08-16 16:01:56 +01:00
Matej Bačo
899bc38069 Merge branch 'cl-1.4.x' into feat-git-integration 2023-08-10 01:12:09 +02:00
Bradley Schofield
c6302014f5
Run Linter 2023-08-09 23:51:36 +01:00
Bradley Schofield
d001f14249
Add Service Account Role Assignment 2023-08-09 23:46:23 +01:00
Khushboo Verma
52b61c5c75 Add description to exception 2023-08-09 18:37:22 +05:30
Matej Bačo
93735ac4a7 Merge remote-tracking branch 'origin/cl-1.4.x' into feat-git-integration 2023-08-09 12:30:45 +02:00
Christy Jacob
c009a12a25 Merge branch 'cl-1.4.x' of https://github.com/appwrite/appwrite into 1.4.x 2023-08-08 20:51:31 +00:00
Bradley Schofield
47ebf77ff0 Continue work on OAuth Firebase last stage 2023-08-08 20:28:38 +01:00
Bradley Schofield
91c82f0d7d Merge remote-tracking branch 'origin/cl-1.4.x' into feat-implement-migrations 2023-08-07 16:09:28 +01:00
Matej Bačo
906f86fbb8 Merge branch 'cloud-1.4.x' into feat-git-integration 2023-08-06 09:31:32 +02:00
Steven Nguyen
d960f85da6
Merge branch '1.4.x' into cloud-1.4.x 2023-08-04 18:07:33 -07:00
Bradley Schofield
8f5d79e668 Move to new branch 2023-08-04 17:21:41 +01:00
Steven Nguyen
3499a7028c
Create OAuth2 exception class 2023-07-27 17:19:49 -07:00
Matej Bačo
a174562c4e vcs.createRepository() 2023-06-18 13:38:37 +02:00
Matej Bačo
6885e6ea0e linter fix 2023-05-01 17:51:31 +02:00
Matej Bačo
70b5281a0b Improve GitHub oauth email discovery 2023-05-01 15:54:33 +02:00
Matej Bačo
a185d6c7f1 Formatting fix 2023-04-28 22:04:27 +02:00
Steven Nguyen
518a37d294
Add a generic OIDC OAuth2 provider 2023-04-27 19:48:51 -07:00
Matej Bačo
5782f7b8c6 Add OG image render logic 2023-04-19 09:25:05 +02:00
Eldad A. Fux
5b4a3805bf
Merge pull request #3522 from wess/feat-etsy-auth
Adds Etsy to OAuth providers
2022-08-13 13:05:43 +03:00
Wess Cope
c6fc2a98ae
Update src/Appwrite/Auth/OAuth2/Etsy.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-08-09 10:14:40 -04:00
Wess Cope
a079284729
Update src/Appwrite/Auth/OAuth2/Etsy.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-08-09 10:14:30 -04:00
Wess Cope
f0d4f43dba
Update src/Appwrite/Auth/OAuth2/Etsy.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-08-09 10:14:19 -04:00
Wess Cope
fe2fe1e08a
Update src/Appwrite/Auth/OAuth2/Etsy.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-08-09 08:15:46 -04:00
Wess Cope
97117f2fde
Update src/Appwrite/Auth/OAuth2/Etsy.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-08-09 08:15:38 -04:00
Wess Cope
27e54fae4c
Update src/Appwrite/Auth/OAuth2/Etsy.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-08-09 08:15:28 -04:00
Wess Cope
f1887449ab
Update src/Appwrite/Auth/OAuth2/Etsy.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-08-09 08:15:19 -04:00
Bishwajeet Parhi
f4c5b4c11d lints fixed 2022-08-08 12:44:11 +00:00
Bishwajeet Parhi
6c653d8f2a remove whitespace 2022-08-05 16:21:47 +00:00
Bishwajeet Parhi
999962d161 add comments denoting return type and parameters if any 2022-08-05 16:09:38 +00:00
Bishwajeet Parhi
9cd10686bb
Update src/Appwrite/Auth/OAuth2/Disqus.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-08-05 21:25:41 +05:30
Bishwajeet Parhi
6fdf578919
Update src/Appwrite/Auth/OAuth2/Disqus.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-08-05 21:25:34 +05:30
Bishwajeet Parhi
dab0a8ec27
Update src/Appwrite/Auth/OAuth2/Disqus.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-08-05 21:25:21 +05:30
Bishwajeet Parhi
3f15035c1a
Merge branch 'appwrite:master' into feat-disqus-Oauth-provider 2022-08-05 21:24:19 +05:30
Matej Bačo
6c21723ecb
Merge branch 'appwrite:master' into shiftra 2022-08-05 13:32:06 +02:00
Wess Cope
0653d99e4d
Update Etsy.php
- Reduces scope to only profile and email
- Updates comment for isEmailVerified informing that etsy.com handles verification itself.
2022-07-21 12:18:38 -04:00