Skip to content

docs: added metadata and auth flow#178

Open
himazawa wants to merge 9 commits into
mainfrom
flow-diagrams
Open

docs: added metadata and auth flow#178
himazawa wants to merge 9 commits into
mainfrom
flow-diagrams

Conversation

@himazawa

Copy link
Copy Markdown
Contributor

No description provided.

@himazawa himazawa requested a review from a team as a code owner July 15, 2024 13:13

@BenitoVisone BenitoVisone left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I suppose that in the auth_flow diagram we're missing two interactions between steps 6 and 7:

  1. update SAMLSession record with the SAMLResponse parameter after the redirect POST on the saml/acs endpoint
  2. init OIDCSession record after successful issuing of the authorization_code

chore: maybe it could be useful to add the /token POST request after the step 7. to make init of AccessTokenSession Record more explicit

@himazawa himazawa requested a review from BenitoVisone October 11, 2024 13:16

@BenitoVisone BenitoVisone left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

  1. In the auth_flow I would connect the /token to the API Gateway instead of directly to oneid-ecs-core
  2. In the metadata_flow I would add the Parameter Store dependency because the lambda will need it to sign and public the metadata with the certificate

Comment thread docs/diagrams/src/classes.d2
Comment thread docs/diagrams/src/infra.d2 Outdated
Comment thread docs/diagrams/src/auth_flow.d2
Comment thread docs/diagrams/src/metadata_flow.d2
Comment thread docs/diagrams/src/auth_flow.d2
@sebbalex

sebbalex commented Jan 7, 2025

Copy link
Copy Markdown
Contributor

@himazawa @BenitoVisone I think we're all set here, can we merge it?

BenitoVisone
BenitoVisone previously approved these changes Jan 8, 2025
Co-authored-by: Alessandro Sebastiani <sebbalex@users.noreply.github.com>
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.

3 participants