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

Debug Recommendations #5

Open
guzman-raphael opened this issue Apr 27, 2020 · 1 comment
Open

Debug Recommendations #5

guzman-raphael opened this issue Apr 27, 2020 · 1 comment

Comments

@guzman-raphael
Copy link

guzman-raphael commented Apr 27, 2020

Nice plugin! Working as expected.

Any recommendations for a debug/breakpoint setup if I am looking to extend this?

@guzman-raphael guzman-raphael changed the title Debug Reccomendations Debug Recommendations Apr 27, 2020
@CyberDem0n
Copy link
Owner

Hi @guzman-raphael,

what exactly do you want to debug?
The module implements only pam_sm_authenticate(), which calls oauth2_authenticate(). The last one does most of the job.

For local debugging probably the easiest would be adding the main() function and calling oauth2_authenticate() from it.

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

No branches or pull requests

2 participants