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

Sample for authentication inside of the Plugin #47

Open
karpikpl opened this issue Jul 30, 2024 · 0 comments
Open

Sample for authentication inside of the Plugin #47

karpikpl opened this issue Jul 30, 2024 · 0 comments

Comments

@karpikpl
Copy link

Is your feature request related to a problem? Please describe.
When opening an external plugin on IOS browser cookies are not shared with the plugin, breaking SSO experience for users that have to authenticate inside of the plugin.

Describe the solution you'd like
A sample on how to authenticate the user (using OAuth) inside of the plugin. What's the best practice?
Should OFS pass in token to the plugin?
How to achieve an SSO experience?

Describe alternatives you've considered
Tried using MSAL in external plugin SPA but silent login doesn't work since cookies are not shared.

Additional context
Scenario is as follows:

  1. user opens OFS
  2. logs in with Entra
  3. opens external plugin (an SPA)
  4. SPA need to make calls to backend with token
  5. SPA tries to authenticate the user with Entra
  6. Failure - silent flow fails
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