nokia / kong-oidc

OIDC plugin for Kong
Apache License 2.0
454 stars 320 forks source link

Pass Access and ID tokens to an upstream resource #75

Closed pavel-mikhalchuk closed 5 years ago

pavel-mikhalchuk commented 5 years ago

Pass Access and ID tokens to an upstream resource as headers "X-Access-Token" and "X-ID-Token" respectively.

coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 103


Totals Coverage Status
Change from base Build 102: 0.2%
Covered Lines: 126
Relevant Lines: 131

💛 - Coveralls
coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 103


Totals Coverage Status
Change from base Build 102: 0.2%
Covered Lines: 126
Relevant Lines: 131

💛 - Coveralls
coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 105


Totals Coverage Status
Change from base Build 102: 0.3%
Covered Lines: 130
Relevant Lines: 135

💛 - Coveralls
pavel-mikhalchuk commented 5 years ago

I've added couple more unit tests.

pavel-mikhalchuk commented 5 years ago

Also, Damian, please let me know if you'd like me to update the readme file.

Trojan295 commented 5 years ago

@pavel-mikhalchuk, the code looks ok, but it would be great to update also the README.md to show those new headers

ronaldxl commented 5 years ago

Hello, Sorry for the intromission Is this feature available in some way? I need the acess token and id_token for make others requests

thanks!

pavel-mikhalchuk commented 5 years ago

@Trojan295, @ronaldxl,

Unfortunately I'm on the business trip right now and coming back December 10th. I'll try to work on this one this Saturday but can't guarantee that. We could merge this PR and update readme in different ticket so this feature is available.