aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/oauth
AgeCommit message (Collapse)Author
2019-02-28Made auth customization be runtime-configurable.Ivan Tashkinov
2019-02-26Database authenticator behaviour / Pleroma implementation refactoring.Ivan Tashkinov
2019-02-22OpenLDAP supportlink0ff
2019-02-21Auth customization support.Ivan Tashkinov
OAuthController#create_authorization user retrieval / creation, errors handling, template & layout selection.
2019-02-19[#468] Merged `upstream/develop`.Ivan Tashkinov
2019-02-18Merge branch 'feature/add-oauth-tokens-endpoint' into 'develop'kaniini
Add OAuth tokens endpoint See merge request pleroma/pleroma!805
2019-02-17Render only "id", "valid_until" and "app_name" in TokenViewMaxim Filippov
2019-02-17[#468] Merged `upstream/develop`, resolved conflicts.Ivan Tashkinov
2019-02-17[#468] Refactored OAuth scopes' defaults & missing selection handling.Ivan Tashkinov
2019-02-15[#468] Defined OAuth restrictions for all applicable routes.Ivan Tashkinov
Improved missing "scopes" param handling. Allowed "any of" / "all of" mode specification in OAuthScopesPlug. Fixed auth UI / behavior when user selects no permissions at /oauth/authorize.
2019-02-14[#468] Refactored OAuth scopes parsing / defaults handling.Ivan Tashkinov
2019-02-14oauth: never use base64 padding when returning tokens to applicationsWilliam Pitcock
The normal Base64 alphabet uses the equals sign (=) as a padding character. Since Base64 strings are self-synchronizing, padding characters are unnecessary, so don't generate them in the first place.
2019-02-14[#468] User UI for OAuth permissions restriction. Standardized storage ↵Ivan Tashkinov
format for `scopes` fields, updated usages.
2019-02-13Update token.exMaxim Filippov
2019-02-13Add revoke tokenMaxim Filippov
2019-02-13Add OAuth tokens endpointMaxim Filippov
2019-02-09de-group import/sHaelwenn (lanodan) Monnier
2019-02-09de-group alias/esHaelwenn (lanodan) Monnier
2019-02-09[#468] Prototype of OAuth2 scopes support. TwitterAPI scope restrictions.Ivan Tashkinov
2019-02-07OAuth2 security fixes: redirect URI validation, "Mastodon-Local" security ↵Ivan Tashkinov
breach fix. (`POST /api/v1/apps` could create "Mastodon-Local" app wth any redirect_uris, and if that happened before /web/login is accessed for the first time then Pleroma used this externally created record with arbitrary redirect_uris and client_secret known by creator).
2019-01-28Correctly handle invalid credentials on auth login.lain
Closes #407
2019-01-23Flake Ids for Users and Activitieshref
2018-12-31update copyright years to 2019William Pitcock
2018-12-23add license boilerplate to pleroma coreWilliam Pitcock
2018-12-18[#114] Added email confirmation resend action. Added testsIvan Tashkinov
for registration, authentication, email confirmation, confirmation resending. Made admin methods create confirmed users.
2018-12-18[#114] Account confirmation email, registration as unconfirmed ↵Ivan Tashkinov
(config-based), auth prevention for unconfirmed.
2018-12-09fix compile warningsMaksim Pechnikov
2018-11-11oauth: fix token decode regressionWilliam Pitcock
2018-11-06Unify Mastodon Login with OAuth login.lain
This removes duplication in the login code.
2018-10-14Delete Tokens and Authorizations on password changeHaelwenn (lanodan) Monnier
Closes: https://git.pleroma.social/pleroma/pleroma/issues/320
2018-09-09TASK: Fix formattingDominique Feyer
2018-09-09Add missing URL encoding in create authorization redirectDominique Feyer
2018-09-01OAuth: Support /revoke endpoint for revoking tokensMartin Kühl
(for compatibility with Mastodon)
2018-09-01OAuth: Set `created_at` in token exchange responseMartin Kühl
(for compatibility with Mastodon)
2018-06-14Merge branch 'bugfix/oauth2-param-name' into 'develop'lambda
oauth: support either name or username parameter with grant_type=password Closes #180 See merge request pleroma/pleroma!219
2018-06-14oauth: fix password-based login when username is email addressWilliam Pitcock
closes #199
2018-06-14oauth: support either name or username parameter with grant_type=passwordWilliam Pitcock
closes #180
2018-06-06Make token exchange return errors with 400 as status codeD Anzorge
2018-06-04Make OAuth token endpoint work with HTTP Basic authD Anzorge
client_id/client_secret can now be supplied in an Authorization header
2018-05-07More warning fixes.lain
2018-04-21Formatting fixes.lain
2018-04-18MastoAPI and OAuth: allow login with either email or username.eal
2018-03-30Format the code.lain
2018-03-23oauth: implement grant_type=password for single-page appsWilliam Pitcock
2018-03-22Fix test.lain
2018-03-19cap againMark Felder
2018-03-19start with a capitalMark Felder
2018-02-08Changed fallback controller to handle all cases from OAuthControllerCalv Collins
2018-02-08Create action_fallback for username/password incorrect inputCalv Collins
2017-11-10Handle existing redirect params.Roger Braun