Livio Amstutz
64797c1df6
cleanup
2020-09-16 15:22:15 +02:00
Livio Amstutz
2e75f54069
update mocks
2020-09-16 06:44:16 +02:00
Livio Amstutz
a56a4a018a
harmonize jwtProfile and existing interfaces / functions
2020-09-15 16:59:27 +02:00
Livio Amstutz
5a9e6e2c2a
let tests work
2020-09-15 08:06:43 +02:00
Livio Amstutz
8790b54e0d
update some op interfaces
2020-09-15 07:25:44 +02:00
Livio Amstutz
45230569d3
change RP interfaces
2020-09-14 07:52:16 +02:00
Livio Amstutz
ed6cbe4fe2
Merge remote-tracking branch 'origin/service-accounts' into service-accounts
2020-09-14 07:06:20 +02:00
Livio Amstutz
143ff3482c
change verifier interfaces
2020-09-11 10:45:07 +02:00
adlerhurst
17a72ccc97
fix: storage interface
2020-09-10 18:31:53 +02:00
Livio Amstutz
3777f1436d
Merge remote-tracking branch 'origin/service-accounts' into service-accounts
2020-09-10 16:24:58 +02:00
adlerhurst
a731a46ccf
fix: aud
2020-09-10 16:24:48 +02:00
Livio Amstutz
f8707958fc
Merge remote-tracking branch 'origin/service-accounts' into service-accounts
2020-09-10 16:24:29 +02:00
adlerhurst
7700cb3539
fix: implement storage
2020-09-10 15:43:21 +02:00
Livio Amstutz
eaf47fde8e
change some interfaces
2020-09-09 16:00:19 +02:00
Livio Amstutz
bfbd4adb1c
some ideas to implement jwt client assertion
2020-09-08 17:09:27 +02:00
Livio Amstutz
a37a8461a5
lot of unfinished changes
2020-09-08 16:07:49 +02:00
Livio Amstutz
9cb0fff23f
Merge remote-tracking branch 'origin/service-accounts' into service-accounts
2020-09-07 12:40:54 +02:00
adlerhurst
7487af3db4
add func for creating JWT token
2020-09-07 12:39:22 +02:00
Livio Amstutz
6a0dd7c270
Merge branch 'master' into service-accounts
...
# Conflicts:
# pkg/oidc/authorization.go
2020-09-07 12:36:10 +02:00
Livio Amstutz
abd3b6f521
fix: handle single aud
string claim, extract en/decoder interface, comments ( #51 )
...
* en/decoding abstraction
* some comments
* fix token validation and error messages
* fix: audience mapping (single aud string)
* fix tests with VerifyIdToken
* reformat imports
* go mod tidy
* Update pkg/oidc/authorization.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update pkg/oidc/authorization.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update pkg/op/authrequest_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* fix capitalization
Co-authored-by: Silvan <silvan.reusser@gmail.com>
2020-09-07 12:32:35 +02:00
adlerhurst
7a109a763d
feat: service account token exchange
2020-09-02 17:52:22 +02:00
Livio Amstutz
c828290ef1
fix: improve interceptor handling ( #49 )
2020-08-28 14:51:38 +02:00
Livio Amstutz
d02653e75d
fix: add authorization to cors ( #48 )
2020-08-24 16:08:07 +02:00
Fabi
b2b25c5b8c
Merge pull request #47 from caos/fix-cors
...
fix: cors
2020-08-24 08:19:29 +02:00
Livio Amstutz
6e71c17f1d
pass origin into GetUserinfoFromToken
2020-08-24 07:52:22 +02:00
Livio Amstutz
57cf8ee9c7
fix: add code_challenge_methods_supported to discovery endpoint ( #43 )
...
* fix: add code_challenge_methods_supported to discovery endpoint
* fix mock
2020-08-20 16:27:51 +02:00
Livio Amstutz
c88e6b4ab3
fix: explicit allow Origin from request
2020-08-10 15:49:32 +02:00
Fabi
c6e22dff69
feat: dev mode on client, check client configuration ( #41 )
...
* fix: tests
* fix: tests
* fix: tests
2020-08-06 13:10:49 +02:00
Fabi
3507057c66
fix: remove bracket ( #40 )
2020-07-29 09:01:13 +02:00
JCustin
e6356f101d
Update pkg/op/authrequest.go
...
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-07-28 13:26:14 -07:00
JCustin
c68975601b
Update pkg/op/authrequest.go
...
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-07-28 13:26:04 -07:00
JCustin
b2d043a84f
Update pkg/op/authrequest.go
...
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-07-28 13:25:53 -07:00
JCustin
f552b1cd3f
Update pkg/op/authrequest.go
...
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-07-28 13:25:41 -07:00
JCustin
f6f8cbacc5
Update pkg/op/authrequest.go
...
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-07-28 13:25:25 -07:00
JCustin
cd1c3642d1
Update pkg/op/authrequest.go
...
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-07-28 13:25:17 -07:00
JCustin
d653ed7112
Update pkg/op/authrequest.go
...
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-07-28 13:25:08 -07:00
JCustin
858a52759a
Update pkg/op/authrequest.go
...
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-07-28 13:24:59 -07:00
JCustin
9c8698da56
Update pkg/op/authrequest.go
...
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-07-28 13:24:48 -07:00
JCustin
e54ab63c1c
Update authrequest.go
...
Rewrote error messages with a consistent structure to explain said errors, as well as a transition to the administrator's contact information. The administrator's information will needed to be plugged in by a more knowledgeable contributor.
Note that because I am not familiar with Go, some of the error messages may have an incorrect explanation for the error. I encourage a double check on the terminology and logic explained in my messages. If there are any errors, please correct the terminology and logic while retaining the sentence structure.
2020-07-27 19:19:14 -07:00
Livio Amstutz
628bc4ed65
fix: end session ( #35 )
...
* fix: handle code separately
* fix: option to ignore expiration on id_token and error handling
* fix: op handler as http.Handler
* fix: terminate session possible wihtout id_token_hint
2020-07-06 12:52:22 +02:00
Livio Amstutz
58545a1710
fix: handle code separately ( #30 )
2020-05-29 09:40:34 +02:00
livio-a
a8d10945d8
feat: preselect user with id_token_hint ( #16 )
...
* feat: preselect user with id_token_hint
* fix tests
2020-03-11 09:41:54 +01:00
livio-a
2b9f7dfd18
Fix: userinfo ( #15 )
...
* add idea to gitignore
* working userinfo
* cleanup
* tests
2020-03-06 17:14:30 +01:00
Livio Amstutz
5af734d72f
fix: add missing WithCustomEndSessionEndpoint
2020-03-04 09:05:15 +01:00
Livio Amstutz
e8f3010910
feat: terminate session (front channel logout)
2020-03-03 11:31:23 +01:00
Livio Amstutz
4de855dc21
Merge remote-tracking branch 'origin/master' into token
2020-02-27 17:40:31 +01:00
Livio Amstutz
5e7e5ebe3a
fix: create access token from storage
2020-02-27 17:06:32 +01:00
livio-a
d25ffbe029
Merge pull request #12 from caos/cors
...
feat: add cors * to handler
2020-02-27 13:04:15 +01:00
Livio Amstutz
3f97c5c3ed
feat: add cors * to handler
2020-02-27 12:56:47 +01:00
livio-a
7f486a54c4
Merge pull request #11 from caos/feat/customEndpoints
...
feat: custom absolute endpoints
2020-02-27 09:45:27 +01:00