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

OAuth support to CPDB #37

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

shivamsharma2509
Copy link

I have made some changes to existing print_backend_cups, I modified on_handle_print_socket() function and added some features to connect CPDB backend with OAuth. I also added end_print_job_with_token() function which will be responsible for processing print request after successfully verifying the access token and after that the process authentication process will be completed.

I have also added function to store access token and the access token will be expired within a minute and it can not be used after that and they are not reusable as well. Only requested client can access the access token and we are not compromising security in the complete OAuth flow.

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.

1 participant