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

feat: Support Super Gluu one step authentication to Fido2 server #3593

Closed
yurem opened this issue Jan 10, 2023 · 1 comment
Closed

feat: Support Super Gluu one step authentication to Fido2 server #3593

yurem opened this issue Jan 10, 2023 · 1 comment
Assignees
Labels
kind-feature Issue or PR is a new feature request

Comments

@yurem
Copy link
Contributor

yurem commented Jan 10, 2023

Super Gluu is based on the U2F specification with a small extension. Instead of a physically connected device, Auth Server communicates with the Super Gluu mobile application via QR code or push messages. Also, Super Gluu has an extension to support one step authentication.

The current version of Super Gluu uses oxAuth U2F endpoints. In Jans we have separate Fido2 server which supports both fido2/u2f specifications. We need to migrate Super Gluu to use Fido2 server and deprecate oxAuth U2F endpoints.

One small change is needed for Super Gluu Mobile: it should try to get metadata from https://<server>/.well-known/fido-configuration as before; if this endpoint is missing. it should get it from https://<server>/.well-known/fido2-configuration.

Here are references for the one step changes we added to oxAuth U2F:

  1. GluuFederation/oxAuth@d1e3021#diff-5c39eb616277e16b2eb2dc627057549c73c025537f545aa1e1f04577efab40a7
  2. GluuFederation/oxAuth@bde0096#diff-113cb0fdfe862fdc4f09560a475ceb95dee107d7c5ae88bfb4e0df47e17e40f6

This is to explain where we added customizations to U2F.

@yurem yurem self-assigned this Jan 10, 2023
@mo-auto mo-auto added the kind-feature Issue or PR is a new feature request label Jan 10, 2023
@nynymike nynymike changed the title feat: add support super gluu one step authentication to Fido2 server feat: Support Super Gluu one step authentication to Fido2 server Jan 10, 2023
yurem added a commit that referenced this issue Jan 27, 2023
#3599)

* feat: Support Super Gluu one step authentication to Fido2 server #3593

* feat: add sample request/response for one/two steps

* feat: enrollment proxy for Super Gluu

* chore: allow to process Super Gluu auth request

* feat: add super gluu authentication flow support

* feat: update to conform Jans

* feat: update SG script and services to conform Fido2 server

* feat: add fido2 device registration services to jans-auth-server

* feat: full 2 step Super Gluu support

* feat: user filter to search user's devices for specifc domain

* fix: super_gluu_script

* fix: super Gluu script

* feat: support one_step Super Gluu enrollment

* feat: clean up jans-auth-server static config

* Revert "fix: super_gluu_script"

This reverts commit f0e1713.

* Revert "fix: super Gluu script"

This reverts commit 20512c4.

* feat: super Gluu uses applicationId isntead of applicationId domain

* feat: support Super Gluu one_step authentication

* feat: add separate base DN for one step auth requests

* feat: add super Fluu config option and disable it's API by default

* feat: fixes in two step flow to conform katest API

* feat move generic attributes to base bean

* feat: remove unused services

* chore: review script

* chore: code review

* chore: fix formatting

* feat: add missing base fido2 branch

* chore: code review

* chore: review validators

* feat: move Super Gluu adaptors code to separate services

* chore: optimizations

* chore: remove unused methods

* feat: remove U2F clean up jobs

* feat: more input parameters validations

* feat: final optimizations and fixes

Co-authored-by: Madhumita <madhu@gluu.org>
@yurem
Copy link
Contributor Author

yurem commented Jan 27, 2023

Implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind-feature Issue or PR is a new feature request
Projects
None yet
Development

No branches or pull requests

4 participants