Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature dpop rest #74

Merged
merged 64 commits into from
Nov 22, 2021
Merged

Conversation

kalanika
Copy link
Contributor

@kalanika kalanika commented Aug 24, 2021

Purpose

Implemented DPoP token support according to the spec https://tools.ietf.org/html/draft-ietf-oauth-dpop-02

@CLAassistant
Copy link

CLAassistant commented Aug 24, 2021

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
3 out of 4 committers have signed the CLA.

✅ isuruhettiarachchi
✅ kalanika
✅ nipunthathsara
❌ darsham3
You have signed the CLA already but the status is still pending? Let us recheck it.

@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/1344508770

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/1344508770
Status: failure

@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/1346396415

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/1346396415
Status: success

Copy link

@jenkins-is-staging jenkins-is-staging left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/1346396415

@piraveena
Copy link
Contributor

piraveena commented Oct 21, 2021

Can you add a readme file with all the instructions inside the dpop component? It will be helpful for the people to refer. Also, can you add the java client you used to generate the DPoP header inside the sample-is repo and refer to that from the readme file?

@kalanika
Copy link
Contributor Author

kalanika commented Oct 27, 2021

Can you add a readme file with all the instructions inside the dpop component? It will be helpful for the people to refer. Also, can you add the java client you used to generate the DPoP header inside the sample-is repo and refer to that from the readme file?
Added the readme file README.md
Java client PR : DPoP-client-app

@chamathns
Copy link
Contributor

Shall we change the implementation to read the configs that were included in the wso2/carbon-identity-framework#3805 and wso2/carbon-identity-framework#3800 as custom configs from the deployment.toml file?

The reason being, since DPoP is still at its draft state, it's not ideal to have the configurations added to the framework side at the moment. So, the alternative would be to instruct anyone who's going to use the DPoP module to include the necessary params in the deployment.toml as custom configs.

type = "dpop"
class = "org.wso2.carbon.identity.dpop.validators.DPoPTokenValidator"

[oauth.grant_type.uma_ticket]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain the reason for using uma config here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order to enable the custom introspection data provider.

@chamathns chamathns merged commit 9e797a7 into wso2-extensions:master Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants