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

[WASH-1124] add AgentToken to SDK #67

Merged
merged 1 commit into from
Feb 11, 2022
Merged

Conversation

pirtleshell
Copy link
Contributor

The AgentToken is named as such to emulate the js-sdk. It is a jwt for
the tozid-realm-idp agent client which is returned in the final redirect
response of the login flow when logging into the account client.

An auth pattern exists in keycloak to use it to maintain a user's session
across API calls. It will be needed for automated testing of WebAuthn MFA
and for supporting FIDO2 devices in TODA.

client.go Outdated Show resolved Hide resolved
config.go Outdated Show resolved Hide resolved
It is a jwt for the tozid-realm-idp agent client which is returned in the
final redirect response of the login flow when logging into the account client.
Js-sdk calls this the "agent token".

An auth pattern exists in keycloak to use it to maintain a user's session
across API calls. It will be needed for automated testing of WebAuthn MFA
and for supporting FIDO2 devices in TODA.
@coveralls
Copy link

coveralls commented Feb 11, 2022

Coverage Status

Coverage decreased (-0.2%) to 43.56% when pulling 2646320 on wash-1124-agent-tokenz into 03ec238 on master.

Copy link
Contributor

@rosasck rosasck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YYAYAY

@pirtleshell pirtleshell merged commit 9dd7ae3 into master Feb 11, 2022
@pirtleshell pirtleshell deleted the wash-1124-agent-tokenz branch February 11, 2022 21:27
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

Successfully merging this pull request may close these issues.

None yet

5 participants