FreeRADIUS icon indicating copy to clipboard operation
FreeRADIUS copied to clipboard

Add Push Token Functionality

Open droobah opened this issue 5 years ago • 5 comments

  • added push token compatibility
  • new configuration values added to poll for challenges, and authenticate with administrative/service account
  • Note: RADIUS client timeout must be set to a value higher than the privacyIDEA challenge timeout for proper functionality

Closes #38

droobah avatar Apr 22 '19 21:04 droobah

Sorry for missing any response.

@droobah So you are polling in the RADIUS response. How did you handle timeouts? Usually RADIUS timeouts are rather short like 5 seconds.

cornelinux avatar Feb 20 '20 09:02 cornelinux

We had to change the timeout on all systems connecting to the RADIUS server.

The only other way I could see to do it would be to send back a fake challenge to request the user to accept it on the device and then type in “1111” or some arbitrary value to continue.

The arbitrary value would be necessary as the majority of interfaces utilizing RADIUS do not allow an empty response.

I don’t feel either method is perfect.

droobah avatar Feb 20 '20 12:02 droobah

We added a push_wait policy, maybe after your PR here. Actually privacyIDEA waits with the response to the RADIUS server. Maybe you also want to take a look into this?

The problem is that the out of band auth with push can not work well with a protocol like RADIUS.

Thanks for your PR anyways. We can not promise to look into it very soon.

cornelinux avatar Feb 20 '20 14:02 cornelinux

Yeah, this PR was done before the push_wait was added to privacyIDEA. You've also added another method of polling since then, so this PR is most likely obsolete and definitely out of date from the current release.

droobah avatar Feb 20 '20 14:02 droobah

However, it is a good starting point :-)

cornelinux avatar Feb 20 '20 14:02 cornelinux