-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
experimental/sso-with-skills Sample Does not handle the Invoke Activity from OAuth Prompt #2658
Comments
@dmvtech +Dana |
I'm checking to see if I can simply reproduce. |
Still working on repro. Hitting some speedbumps getting it all set up. |
@dmvtech any update on this? |
Still working on it. Having some issues on Teams (my own issues). I hope to have an better update by the end of the day. |
I can reproduce this, but I wonder if we want to consider this a bug. I know that with samples, we try and be as narrow as possible in the completeness of the sample/example. As we already have an example on how to do Teams auth (That does handle the Invoke Activity), that whether that needs to be added to this sample (for the sake of thoroughness) or not. Not every sample should work in every scenario. They are meant to be small, concise examples that convey small aspects and approaches within SDK. @pavolum Can you bring this up in triage and see if this is a change/addition/fix that should be implemented? @HobbyProjects We do accept contributions from the community. Would you be interested in creating a pull request with the fix if this is an accepted approach? (if not, no worries) |
@swagatmishra2007 - can you take a look at this? |
@tdurnford Assuming this is the only change required to make SSO work in Teams, I think adding it to this sample should be sufficient. If we want to make it a bit more explicit we could comment it out, and add a "Running in Teams" section to the readme to uncomment the code. A similar treatment may make sense for our other authentication samples (consolidate the Teams one with the "normal" auth sample). |
@swagatmishra2007 do you have any update on this issue? Thanks. |
I agree with @clearab above, but that increases the scope a bit, including testing. So i would like to discuss this at the triage meeting |
@swagatmishra2007 and @clearab can the two of you sync and come up with an actionable plan for this sample? |
ping @clearab |
Are there still open questions about this? I'd like to see this get picked up and see the sample updated in-line with the comments above. @johnataylor can you help find the appropriate dev for implementation? |
Closing this one for now, we will address it as part of SSO for teams, there's another PR for SSO with skills here |
Github issues for C# /JS / Java/ Python should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Sample information
Describe the bug
After the "Sign In" card is displayed and the the login prompt is displayed and completed, we will get an "Invoke" activity which we should send back to
MainDialog
to completeOAuthPromot
login process. The current sample does not handle the Invoke activity and login is never completed. To be precise, this callback needs to be added toTeamsActivityHandler
implementationTo Reproduce
Steps to reproduce the behavior:
Expected behavior
Give a clear and concise description of what you expected to happen.
Login process completes.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
[bug]
The text was updated successfully, but these errors were encountered: