Jonathan Daggerhart
6dfb0fafa5
Issue #76 : Avoid double question marks in auth url query string ( #120 )
6 years ago
Shane Mulligan
0b51e9c1e5
Change PHP keywords to comply with PSR2 ( #116 )
...
Signed-off-by: CodeLingoBot <bot@codelingo.io>
6 years ago
Jonathan Daggerhart
4d7939e9e5
Bug with some special char in the firstname or lastname
...
Add str_replace because token is encoded in base64 URL (and not just base64).
Solves the problem with some special char
Re: #101
6 years ago
Jonathan Daggerhart
0d4e4bd006
additional error detection on user_claim
6 years ago
Matt Varblow
6917df262f
Allow identity providers which do not support the userinfo endpoint. ( #100 )
...
* Allow identity providers which do not support the userinfo endpoint.
* Fixed empty check for userinfo endpoint
6 years ago
Antti Leppä
56bd5718e6
Feature #68 state time limit option ( #69 )
...
* Added an option for state time limit on the settings page
7 years ago
Robbie Paul
69a431793f
Authentication URL can be modified
...
Some OpenID Connect providers offer additional functionality by adding
query params to the authentication URL
For example with Azure Active Directory if you pass in
`&domain_hint=REALM` you can customise the way the login screen looks
with your corporate logo etc
8 years ago
Jonathan Daggerhart
61c549189c
adding port to the request headers per issue #30
8 years ago
Jonathan Daggerhart
14133138a7
some method annotation corrections, and minor settings page typoes
8 years ago
Jonathan Daggerhart
4866765768
Merge pull request #25 from ahatherly/master
...
Set the Host header on http requests to openid-connect endpoint
8 years ago
Adam Hatherly
2281246816
Set the Host header on http requests to openid-connect endpoint so it works behind a reverse proxy
8 years ago
Jonathan Daggerhart
6e9790c221
adding comments on new functions
8 years ago
Jonathan Daggerhart
fede005f1f
fix autoloader for diff environments, use wp_remote_post instead of ‘get’, and move cookie setting to hook init
8 years ago
Raif Atef
a47f6d2bfc
Refresh tokens when needed instead of logging out when access_token expires.
...
- refresh_token + access_token expiry is sent via encrypted cookie to the browser.
- If cookie is missing or invalid, user is logged out.
- If last access token expired, use refresh token to fetch a new one and send a new cookie.
- If token refresh fails, user is logged out.
- Cookie encryption is with per-user random key stored in user meta.
- Encryption and key generation done using https://github.com/defuse/php-encryption
- Updated autoloader function to support loading namespaced classes.
8 years ago
Raif Atef
d8a043a6c7
Make token_type check in validate_token_response case-insensitive (Fixes issue #15 ).
8 years ago
wgengarelly
08d9f58d0d
When requesting userinfo, send the access token using the Authorization header field as recommended in section 5.3.1 of the specs.
9 years ago
daggerhart
4db956c119
bug: wrong variable as error data
9 years ago
Jonathan Daggerhart
ada93ba4f3
Added setting for http_response_timeout
9 years ago
Jonathan Daggerhart
9b2dd29659
Method comments, and unique errors
9 years ago
Jonathan Daggerhart
c646078421
refactoring some internal settings for clarity
9 years ago
Jonathan Daggerhart
2e3167fa20
major refactor to separate responsibility
9 years ago