-
Notifications
You must be signed in to change notification settings - Fork 159
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
feat: delegate auth in embed mode #10082
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
430d807
to
4b243dc
Compare
6543ab5
to
eb20dbb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me - we should quickly try this in a deployment. Could you make the few adjustments and merge afterwards? Then I can tag an alpha release in the evening and bring it to the ocis repo.
): RawConfig['options']['embed'] => { | ||
const config: RawConfig['options']['embed'] = {} | ||
|
||
if (!doesEmbedEnabledOptionExists) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My feeling is that we don't need the check. But fine either way. 👍
eb20dbb
to
50ab483
Compare
SonarCloud Quality Gate failed. 0 Bugs 63.6% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
feat: delegate auth in embed mode
Description
Add option to delegate authentication to parent application when Web is included in Embed mode. The automatic token refresh is disabled in such configuration and token is set/updated via events.
Related Issue
Motivation and Context
Do not force the user to authenticate twice when the parent application already has valid access_token.
How Has This Been Tested?
postMessage
methodTypes of changes
Checklist: