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

Support for accessToken & permissions? #13

Closed
alopix opened this issue May 18, 2017 · 8 comments
Closed

Support for accessToken & permissions? #13

alopix opened this issue May 18, 2017 · 8 comments

Comments

@alopix
Copy link

alopix commented May 18, 2017

I really like this framework. One feature I'm missing is accessToken (account linking) and permissions. Any plans on adding them?

@hoegertn
Copy link
Collaborator

What exactly are you missing here? What do you want the framework to provide?

@hoegertn
Copy link
Collaborator

hoegertn commented Jul 5, 2017

@alopix can you elaborate on your feature request? I will then try to add it.

@alopix
Copy link
Author

alopix commented Jul 5, 2017

Sorry for the late reply.

It would be nice to allow to set an accessToken (as well as possibly refreshToken and respective URLs) to allow for testing the Skills with the Alexa account linking features.
Most of my skills are connected via account linking to Google or Alexa OAuth (and even require the user to be logged in to use it). So my Requests would always need the accessToken set beside the userId.

Same with permissions: some of my Skills require the user to allow Device location access which is also a field that does not seem to be supported with this test framework. To include the permissions field in the Request.

@thebucknerlife
Copy link

@hoegertn are there any updates on supporting access tokens?

@hoegertn
Copy link
Collaborator

How would you like to integration to look like?
I will collect a feature list and dedicate some time to this project in the near future.

@alopix
Copy link
Author

alopix commented Sep 25, 2018

It would be nice to have a solution that automatically renews the access token so you don't have to manually take care of entering it all the time.

@hoegertn
Copy link
Collaborator

Do you plan to use actual tokens and do real calls in the tests or is the call mocked out and you provide fixed access tokens in your test?

@alopix
Copy link
Author

alopix commented Sep 25, 2018

For me it would be more or less for integration tests to ensure that the actual connection between skill lambda and the backend API. Using mock data often results in data fitting the lambda perfectly but an actual backend breaking stuff. 🙈

@alopix alopix closed this as completed Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants