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

How to pass end user identity in a system to system communication ? #297

Open
flangel opened this issue Oct 19, 2022 · 0 comments
Open

How to pass end user identity in a system to system communication ? #297

flangel opened this issue Oct 19, 2022 · 0 comments

Comments

@flangel
Copy link

flangel commented Oct 19, 2022

Hi,

in many large enterprises, there is the need to pass the end user identity when doing a system to system communication. Example: One system B is updated by another system A (by calling an API). The information about the end user that typed in data in system A should be passed along when System A calls B.

I didnt find information that describes how that is can be done with OAuth2.

My idea is to use client credentials grant and then pass a user identifier along. That user identifier is then picked up at the API Gateway and using OIDC, the full user info is added to the upstream calls.

Questions at all and @aaronpk

  1. Is my idea any good. What is a good way of passing the user identifier (where, how)
  2. if not, what is the recommended way

Thanks a lot

P.S Happy to compile all the answers and update the page

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

No branches or pull requests

1 participant