Commit Graph

75 Commits (d35f6551c1e9b11dec81b622c9ed2d9cdd6ac389)

Author SHA1 Message Date
lambda 091baf9316 Merge branch 'features/mastoapi/2.6.0-force-login-option' into 'develop'
6 years ago
Egor Kislitsyn 1b3d921921 change `Repo.get(User, id)` => `User.get_by_id(id)`
6 years ago
Ivan Tashkinov 6910fb371b Fixed local MastoFE authentication / `force_login` option.
6 years ago
Ivan Tashkinov cbe09d94d1 Added `force_login` authentication option (previously applied by default).
6 years ago
Ivan Tashkinov b0759f821b Comments split.
6 years ago
Ivan Tashkinov 263ca3dea2 Mastodon-based auth error messages. Defaulted User#auth_active?/1 to `true`.
6 years ago
rinpatch 9a7b817c9a Ecto 3.0.5 migration
6 years ago
lambda 28df397454 Merge branch 'feature/oauth-me' into 'develop'
6 years ago
William Pitcock e0edc706cf oauth: add me property to token responses
6 years ago
link0ff 54e7087ab4 Merge remote-tracking branch 'upstream/develop' into feature/openldap-support
6 years ago
Haelwenn (lanodan) Monnier a3a9cec483
[Credo] fix Credo.Check.Readability.AliasOrder
6 years ago
link0ff 88a672fe88 Move LDAP code to LDAPAuthenticator. Use Authenticator for token_exchange with grant_type as well
6 years ago
link0ff 19e2b85247 Merge remote-tracking branch 'upstream/develop' into feature/openldap-support
6 years ago
rinpatch f38c316e6e Merge branch 'bugfix/oauth-scopes-join' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier b6a001a34c
Web.OAuth.OAuthController: Fix scopes Enum.join for OAuth response
6 years ago
Ivan Tashkinov 3281a3f074 Renamed *DatabaseAuthenticator to *Authenticator.
6 years ago
Ivan Tashkinov 4e77f68414 Added `auth_template/0` to DatabaseAuthenticator.
6 years ago
Ivan Tashkinov b6f915313f Made auth customization be runtime-configurable.
6 years ago
Ivan Tashkinov e82b70eb53 Database authenticator behaviour / Pleroma implementation refactoring.
6 years ago
link0ff e278d47023 OpenLDAP support
6 years ago
Ivan Tashkinov 1097ce6d9f Auth customization support.
6 years ago
Ivan Tashkinov c0ecbf6669 [#468] Merged `upstream/develop`.
6 years ago
kaniini 7456338ed3 Merge branch 'feature/add-oauth-tokens-endpoint' into 'develop'
6 years ago
Maxim Filippov 94708d6370 Render only "id", "valid_until" and "app_name" in TokenView
6 years ago
Ivan Tashkinov bc4f77b10b [#468] Merged `upstream/develop`, resolved conflicts.
6 years ago
Ivan Tashkinov dcf24a3233 [#468] Refactored OAuth scopes' defaults & missing selection handling.
6 years ago
Ivan Tashkinov 2a4a4f3342 [#468] Defined OAuth restrictions for all applicable routes.
6 years ago
Ivan Tashkinov 027adbc9e5 [#468] Refactored OAuth scopes parsing / defaults handling.
6 years ago
William Pitcock e9ef4b8da6 oauth: never use base64 padding when returning tokens to applications
6 years ago
Ivan Tashkinov 063baca5e4 [#468] User UI for OAuth permissions restriction. Standardized storage format for `scopes` fields, updated usages.
6 years ago
Maxim Filippov 760fec4cb8 Update token.ex
6 years ago
Maxim Filippov 62a45bdc11 Add revoke token
6 years ago
Maxim Filippov 61a4bc5095 Add OAuth tokens endpoint
6 years ago
Haelwenn (lanodan) Monnier d924dc73ba
de-group import/s
6 years ago
Haelwenn (lanodan) Monnier 6a6a5b3251
de-group alias/es
6 years ago
Ivan Tashkinov 4ad843fb9d [#468] Prototype of OAuth2 scopes support. TwitterAPI scope restrictions.
6 years ago
Ivan Tashkinov 2c68cf7e9e OAuth2 security fixes: redirect URI validation, "Mastodon-Local" security breach fix.
6 years ago
lain 1825118fd4 Correctly handle invalid credentials on auth login.
6 years ago
href 28d77e373c
Flake Ids for Users and Activities
6 years ago
William Pitcock 980b5288ed update copyright years to 2019
6 years ago
William Pitcock 2791ce9a1f add license boilerplate to pleroma core
6 years ago
Ivan Tashkinov b096e30cff [#114] Added email confirmation resend action. Added tests
6 years ago
Ivan Tashkinov 1de0aa2f10 [#114] Account confirmation email, registration as unconfirmed (config-based), auth prevention for unconfirmed.
6 years ago
Maksim Pechnikov 074fa790ba fix compile warnings
6 years ago
William Pitcock 419ed3a0ca oauth: fix token decode regression
6 years ago
lain 4f640c43ed Unify Mastodon Login with OAuth login.
6 years ago
Haelwenn (lanodan) Monnier eacab0fb05
Delete Tokens and Authorizations on password change
6 years ago
Dominique Feyer 801d645c6b TASK: Fix formatting
6 years ago
Dominique Feyer b79c126ee0 Add missing URL encoding in create authorization redirect
6 years ago
Martin Kühl 84d84e4ca4 OAuth: Support /revoke endpoint for revoking tokens
6 years ago