* feat: remove the artificial resource limit so that code can check
Also change `permission` to `permissions` (clearer for end user). `permission` is left for backwards compatibility.
* docs: add examples for multiple perms checking
* refactor: check `permissions` first, then legacy one
* feat: use union types for `permission` & `permissions`
* fix: properly use union types
* fix: remove accidental `@deprecated` comment
* chore: lint
* fix test
* chore: add oneTimeToken plugin to client barrel exports (#2224)
* docs(expo): add id token usage
* feat(oauth2): override user info on provider sign-in (#2148)
* feat(oauth2): override user info on provider sign-in
* improve email verification handling
* resolve mrge
* fix(sso): update overrideUserInfo handling to use provider configuration
* fix param
* chore: change plugin interface middleware type (#2195)
* fix: delete from session table when stopImpersonate called (#2230)
* chore: fix active organization inferred type
* chore: fix admin test
---------
Co-authored-by: Bereket Engida <bekacru@gmail.com>
Co-authored-by: Wade Fletcher <3798059+wadefletch@users.noreply.github.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com>
* feat(socialLink): add support for custom scopes in social account linking
- Updated documentation to include information on requesting specific scopes when linking social accounts.
- Added a test case to verify that custom scopes are correctly passed to the authorization URL.
- Modified the account linking endpoint to accept additional scopes as an optional parameter.
* chore: lint
* fix(account): update account linking logic and tests
---------
Co-authored-by: Bereket Engida <bekacru@gmail.com>
* feat(two-factor): add optional issuer parameter for TOTP URI generation
* feat(two-factor): enhance issuer parameter handling for TOTP URI generation
* feat(two-factor): add tests for custom issuer handling and fallback to appName in TOTP URI generation
* docs(two-factor): improve formatting and spacing in 2FA documentation for better readability
* docs(two-factor): refine code formatting and spacing in 2FA documentation for improved clarity
* feat: add have i been pwned first draft plugin
* fix: remove error being thrown when no password or body
* fix: return the ctx and ctx body check
* feat: add custom message option
* feat: add first draft docs for plugin
* fix: import in docs
* fix: big typo
* fix: typo
* fix: typo and correct error message
* fix: typo and options optional
* fix: small fixes import and safe options
* feat: add tests - not sure i totaly understand getTestInstance :(
* fix: lint
* simplify checks and fix tests
* feat: add "Have I Been Pwned" plugin to sidebar and update documentation
* build
---------
Co-authored-by: Bereket Engida <bekacru@gmail.com>
* feat: Adding support for HCaptcha and Google ReCAPTCHA v3
* docs: Update captcha plugin documentation with reCAPTCHA v3 and hCaptcha
* fix: Restrict captcha verification to email sign-in and sign-up + updated documentation