-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
8,235 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
|
||
Apache License | ||
Version 2.0, January 2004 | ||
http://www.apache.org/licenses/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# agama-casa | ||
Official Repo for the Agama Casa Project | ||
### casa | ||
A 2FA flow featuring pluggable authentication methods |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Prompts the user to present his Fido2 credential. It returns a positive value if the operation | ||
// (assertion) was successful, or a negative value if he decided to use a different credential | ||
// to authenticate. This flow does not terminate if the assertion fails: the user simply stays | ||
// at the page employed to prompt for the credential | ||
// The identity of the user to authenticate is provided in userData input param | ||
Flow io.jans.casa.authn.fido2 | ||
Basepath "" | ||
Inputs userData withEscape | ||
jose = Call io.jans.casa.authn.FidoValidator#new | ||
assertion = Call jose assertionRequest userData.uid | ||
obj = { name: userData.name, escape: withEscape, assertion: assertion } | ||
obj = RRF "authn/fido-authn.ftlh" obj | ||
When obj.skipped is "" | ||
Finish false | ||
Call jose verify obj.tokenResponse | ||
Finish true |
Oops, something went wrong.