Commit Graph

4419 Commits

Author SHA1 Message Date
Son NK 82d52ec0ae enable CORS for /oauth/token 2019-12-15 18:55:11 +02:00
Son NK f0c4132da4 test id_token,token flow 2019-12-15 18:55:11 +02:00
Son NK 30079c895f Test id_token flow 2019-12-15 18:55:11 +02:00
Son NK f649148a88 add test for the token flow 2019-12-15 18:55:11 +02:00
Son NK efddc68764 add auth_time in id_token 2019-12-15 18:55:11 +02:00
Son NK f6e71436ec fix "kid" in id_token 2019-12-15 18:55:11 +02:00
Son NK 51311e9c41 use tests/env.test as env file for tests 2019-12-15 18:55:11 +02:00
Son NK ba15837b01 add some tests for authorize page
- non-authenticated user,
- non supported flow
- authorization page displayed correctly
- code flow without openid in scope
- code flow with openid in scope
2019-12-15 18:55:11 +02:00
Son NK 541cf80b77 add userinfo_endpoint, remove introspection_endpoint and revocation_endpoint in /.well-known/openid-configuration 2019-12-15 18:55:11 +02:00
Son NK 8185af7770 update UI on step implicit flow 2019-12-15 18:55:11 +02:00
Son NK 0bc0f751bf remove flask example 2019-12-15 18:55:11 +02:00
Son NK 572ac772e9 fix 2019-12-15 18:55:11 +02:00
Son NK 117f4110f8 notify admin when new app gets created 2019-12-15 18:55:10 +02:00
Son NK 4e67275071 provide oauth2 urls in app detail page, improve UI 2019-12-15 18:55:10 +02:00
Son NK d5a2932a97 use localhost instead of sl-client 2019-12-15 18:55:10 +02:00
Son NK 410a746c25 add demo example to step 2019-12-15 18:55:10 +02:00
Son NK 76cb892d77 do not show apps section on dashboard if there's no app 2019-12-15 18:55:10 +02:00
Son NK 9e41914eac add intro for developer tab 2019-12-15 18:55:10 +02:00
Son NK bde3edaf56 remove User.is_developer column 2019-12-15 18:55:10 +02:00
Son NK 06f51099a5 all users can have access to developer tab 2019-12-15 18:55:10 +02:00
Son NK ea123b0922 remove partner code 2019-12-15 18:55:10 +02:00
Son NK 01e19485eb apart from localhost, allow only https 2019-12-15 18:55:10 +02:00
Son NK d600bbfec0 add step when developer adds new app 2019-12-15 18:55:10 +02:00
Son NK 5244678a16 add "disabled" to client-id, client-secret 2019-12-15 18:55:10 +02:00
Son NK fc73267b53 remove website url and icon when creating new app 2019-12-15 18:55:10 +02:00
Son NK daf22b823d add separator to authorize page 2019-12-15 18:55:10 +02:00
Son NK 4ca3ce571a improve wording 2019-12-15 18:55:10 +02:00
Son NK d933fcf0b7 replace information by info 2019-12-15 18:55:10 +02:00
Son NK 67dbcb9723 user can choose their avatar to send 2019-12-15 18:55:10 +02:00
Son NK d61c402aea user can choose name 2019-12-15 18:55:10 +02:00
Son NK 0e0a11dfce make sure custom alias must have at least 3 character in authorize 2019-12-15 18:55:10 +02:00
Son NK 2a6021c230 custom email must have .suffix 2019-12-15 18:55:10 +02:00
Son NK a1c65d3921 use EMAIL_DOMAIN instead of simplelogin.co 2019-12-15 18:55:10 +02:00
Son NK 8c38fe5b56 set custom=True when user creates a custom alias 2019-12-15 18:55:10 +02:00
Son NK ddf188f146 add ClientUser.name,default_avatar, GenEmail.custom column 2019-12-15 18:55:10 +02:00
Son NK 432ca33d9e fix the fucking https://flask.palletsprojects.com/en/1.1.x/cli/#disable-dotenv issue 2019-12-15 18:55:10 +02:00
Son NK 00f858c8c1 user can choose custom email in authorize 2019-12-15 18:55:10 +02:00
Son NK ac8fa33a83 use John Wick email 2019-12-15 18:55:10 +02:00
Son NK 08b394ea0f add User.suggested_emails 2019-12-15 18:55:10 +02:00
Son NK d05749d577 add default-avatar and use it instead of gravatar 2019-12-15 18:55:10 +02:00
Son NK d9f2d65cc2 fix .env.example to be used in unit tests 2019-12-15 18:55:10 +02:00
Son NK 2461ea6145 refactor config 2019-12-15 18:55:10 +02:00
Son NK 37f75954be shorten wording 2019-12-15 18:55:09 +02:00
Son NK 6bf8cddbcd only SERVER_NAME in test 2019-12-15 18:55:09 +02:00
Son NK 682ac75585 add test_login 2019-12-15 18:55:09 +02:00
Son NK 067b8eef71 use .env.example in test, disable CSRF in tests 2019-12-15 18:55:09 +02:00
Son NK 32d6af228b set SERVER_NAME required by tests 2019-12-15 18:55:09 +02:00
Son NK 70e4f8b6e6 use os.environ[] instead of os.environ.get to fail fast 2019-12-15 18:55:09 +02:00
Son NK 8e459892f7 add config.get_abs_path to handle relative path 2019-12-15 18:55:09 +02:00
Son NK 2fc3108141 fix test 2019-12-15 18:55:09 +02:00