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

[Documentation] Cache implementation for confidential clients #437

Open
1 of 5 tasks
darylhjd opened this issue Jun 28, 2023 · 0 comments
Open
1 of 5 tasks

[Documentation] Cache implementation for confidential clients #437

darylhjd opened this issue Jun 28, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@darylhjd
Copy link

darylhjd commented Jun 28, 2023

Documentation related to component

Confidential client account caching.

Please check all that apply

  • typo
  • documentation doesn't exist
  • documentation needs clarification
  • error(s) in the example
  • needs an example

Description of the issue

Currently, it seems that the key that is used to access an account in the confidential client cache is the user's home account id.

My current implementation sets a cookie with the home account id as the value when user logs in. This cookie is then used for authentication and to get the account from the cache, which I use to pass to acquire token silently. The problem with this is that the home account id is constant across sessions, which makes it susceptible to security issues.

Am I using the confidential client wrongly in this case? Or is it possible to use another value as the key (for example, the sid claim, which is supposed to change across sessions)?

@darylhjd darylhjd added the documentation Improvements or additions to documentation label Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant