Commit Graph

42 Commits

Author SHA1 Message Date
Serghei Mihai 84fe05019c service discovery url read from confg 2015-04-16 17:20:41 +02:00
Serghei Mihai 34457e9cc5 sso attributes stored in session. 2015-04-13 15:14:34 +02:00
Serghei Mihai e5e6f14a94 organization url casted to string 2015-04-01 15:49:12 +02:00
Serghei Mihai cf38fedecc handling unauthorized user login attempt 2015-03-27 16:22:55 +01:00
Serghei Mihai 2bfcb919bd post_logout_redirect_uri not localized (#6558) 2015-03-18 20:50:58 +01:00
Serghei Mihai 9b4fdd83d9 user fullname saved before name 2015-03-18 09:45:06 +01:00
Serghei Mihai ffc3aa927f slo done by checking the refer instead of POST 2015-03-17 22:28:48 +01:00
Serghei Mihai f22ce77aba user provisionning (#6718)
user create or update on sso
2015-03-17 22:28:41 +01:00
Serghei Mihai 992d323702 cookie deletion at the logout fix 2015-03-12 18:13:16 +01:00
Serghei Mihai cb408fc159 handling case when user declines to share scopes (#6553) 2015-03-10 23:53:16 +01:00
Serghei Mihai dac9cd2319 redirect on homepage on logout abort 2015-03-05 12:12:27 +01:00
Serghei Mihai 82a66e9626 ozwillo logout url casted to string 2015-03-05 11:40:45 +01:00
Serghei Mihai 60b0260cd5 ozwillo styles set to logout page 2015-03-05 11:39:10 +01:00
Serghei Mihai 856c858cc3 country code check in locale (#6610) 2015-03-05 10:58:49 +01:00
Serghei Mihai 6388360c4e checking the 'state' parameter issued by idp 2015-03-05 10:58:49 +01:00
Serghei Mihai 838dc9f3da if no access_token for current client, redo sso 2015-03-05 10:58:49 +01:00
Serghei Mihai 528cd65d35 cleanup cookies on logout 2015-03-05 10:58:49 +01:00
Serghei Mihai 25877dab80 do not localize sso url 2015-03-05 10:58:49 +01:00
Serghei Mihai c4dcef5d02 using direct redirect method to avoid handling localized urls 2015-03-05 10:58:49 +01:00
Serghei Mihai f1d53ae8e5 on authentication set cookie secure and http only (#6554) 2015-03-05 10:58:49 +01:00
Serghei Mihai 1c8b9fc4ff logout user only on POST request
Let the user confirm the logout via a form
2015-03-05 10:58:42 +01:00
Serghei Mihai a893339edd acr values emptied as not supported(for the moment) 2015-02-24 16:58:36 +01:00
Serghei Mihai cfeed8982b useless scope removed 2015-02-24 16:58:36 +01:00
Serghei Mihai b013655e7a ckan locale updated depending user preferred language on ozwillo 2015-02-24 16:58:31 +01:00
Serghei Mihai b87c1c9373 after logout redirection to organization page handled properly 2015-02-24 16:55:08 +01:00
Serghei Mihai 8a7afbab4e username not updated on user login because not unique on IdP 2015-02-19 17:47:43 +01:00
Serghei Mihai 84922cdf06 redirect to organization page after logout (#6558) 2015-02-19 17:47:43 +01:00
Serghei Mihai aac36ffc5f nonce enable on authentication request (#6556) 2015-02-19 17:47:28 +01:00
Serghei Mihai aec1dadb72 client registration params reading handled 2015-02-18 10:46:24 +01:00
Serghei Mihai cdd21e6f9e sso and slo redirect url contain the name instead of id 2015-02-18 10:39:01 +01:00
Serghei Mihai cdadd39bde storing client's id and secret in Client obj 2015-02-18 10:06:07 +01:00
Serghei Mihai 7400c5df66 logging out the user 2015-02-17 19:13:42 +01:00
Serghei Mihai e7b8bf5b13 Retreving user by 'sub' attribute which represents the user_id.
User name updated from received 'nickname' attribute
2015-02-10 14:02:47 +01:00
Serghei Mihai b699aa4449 OIDC client computed for each organization 2015-02-10 14:02:41 +01:00
Serghei Mihai 880b5defac logout_url casted to string 2015-02-10 11:13:34 +01:00
Serghei Mihai b71e85314e Client building refactored 2015-02-10 11:07:32 +01:00
Serghei Mihai 1f01e54b90 retreive user info via 'Bearer' authorization 2015-02-10 00:33:43 +01:00
Serghei Mihai 1ae62674cd user logging out 2015-02-10 00:33:35 +01:00
Serghei Mihai a5f39ab1f1 retreiving user, update its infos, log in 2015-02-09 17:17:40 +01:00
Serghei Mihai ea32df703b email scope added. Organization dependent params emptied because filled during
authentication process
2015-02-05 16:59:43 +01:00
Serghei Mihai c8204b7344 login function redirecting to idp and callback view added 2015-02-04 15:36:37 +01:00
Serghei Mihai b169c79741 initial commit with plugin structure 2015-01-23 10:34:03 +01:00