open-policy-agent / contrib

Integrations, examples, and proof-of-concepts that are not part of OPA proper.

Home Page:http://www.openpolicyagent.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support `OTP` while using the `pam_opa`

shumin1027 opened this issue · comments

How to add OTP verification while using the pam_opa module

Hi @shumin1027 ! Could you please provide some more details here? Is there something specific flow you're trying out but can't get to run with OPA involved?

Hi @shumin1027 ! Could you please provide some more details here? Is there something specific flow you're trying out but can't get to run with OPA involved?

Thank you @anderseknert , I know how to solve it, and it has been successfully implemented, use the Built-in Functions:HTTP for OTP verification

Very nice! Thanks for sharing 👍

Oh, and if your project is public, I'd love to take a look! 😃

Oh, and if your project is public, I'd love to take a look! smiley
@anderseknert
Thank you for your attention, I'm sorry, the project is not public, but this is a good use case example and I can try to provide a demo, I'll let you know if I'm ready

Oh, and if your project is public, I'd love to take a look! smiley

https://github.com/shumin1027/otpd
@anderseknert Here is a simple example

Awesome @shumin1027 👍 If you get to a point later where you feel it could be useful to others, let me know, and we can have it featured in the ecosystem pages, and so on :)

Awesome @shumin1027 +1 If you get to a point later where you feel it could be useful to others, let me know, and we can have it featured in the ecosystem pages, and so on :)

@anderseknert
That's great,I thought it would be useful for some people looking for a similar Multi-factor authentication scheme, I'm very honored to be able to share for the community