Skip to content

Sample: Single-sign on for enterprise app#2002

Merged
compulim merged 120 commits intomicrosoft:masterfrom
compulim:sample-sso
Jun 19, 2019
Merged

Sample: Single-sign on for enterprise app#2002
compulim merged 120 commits intomicrosoft:masterfrom
compulim:sample-sso

Conversation

@compulim
Copy link
Copy Markdown
Contributor

@compulim compulim commented May 19, 2019

Fixes #1564.

Changelog Entry

Description

Added a sample for "Single sign-on for enterprise apps using OAuth".

Specific Changes

  • Added /samples/19.a.single-sign-on-for-enterprise-apps

@compulim compulim changed the title Sample: Single-sign on sample for enterprise app Sample: Single-sign on for enterprise app May 19, 2019
Copy link
Copy Markdown
Contributor

@corinagum corinagum left a comment

Choose a reason for hiding this comment

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

I think at the very least all of the .js files should have a short comment at the top explaining what it's doing, since this is a sample.
I'm going to try implementing this now and let you know if I have more feedback

Comment thread samples/19.a.single-sign-on-for-enterprise-apps/README.md Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/README.md Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/README.md Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/README.md Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/README.md Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/app/README.md Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/app/README.md Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/README.md Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/README.md Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/README.md
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/bot/src/createBot.js Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/bot/src/createBot.js Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/bot/src/createBot.js Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/bot/src/createBot.js Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/bot/src/createBot.js Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/bot/src/createBotAdapter.js Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/app/README.md Outdated
@corinagum
Copy link
Copy Markdown
Contributor

can you also run npm audit fix on this sample? thank you

@compulim
Copy link
Copy Markdown
Contributor Author

compulim commented May 23, 2019

  1. Highlight security concern of DIRECT_LINE_SECRET
  2. Runtime check to see all critical environment variables were set
  3. FAQ section to show the template of two .env files
  4. Use a CI/CD pipeline to build/host the demo, so we can easily update the demo without manually deploying to the site
  5. Move the access token from conversation state to channelData

@compulim compulim marked this pull request as ready for review June 18, 2019 19:20
Copy link
Copy Markdown
Contributor

@corinagum corinagum left a comment

Choose a reason for hiding this comment

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

Very thorough! LGTM :)

Comment thread samples/19.a.single-sign-on-for-enterprise-apps/app/public/index.html Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/app/public/index.html Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/app/public/index.html Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/app/src/gitHubProfile/Composer.js Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/app/src/gitHubProfile/Composer.js Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/bot/src/createBot.js Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/bot/src/createBot.js Outdated
Comment thread samples/19.a.single-sign-on-for-enterprise-apps/rest-api/src/index.js Outdated
compulim and others added 27 commits June 19, 2019 11:02
…oftGraphProfile/fetchProfilePhotoAsBase64.js

Co-Authored-By: Corina <[email protected]>
@compulim compulim merged commit 454a9c2 into microsoft:master Jun 19, 2019
@compulim compulim deleted the sample-sso branch June 19, 2019 18:35
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.

Sample: Chat bot single sign-on

2 participants