Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Update translator auth to just use account key #74

Merged
merged 2 commits into from Jul 11, 2017
Merged

Conversation

c-w
Copy link
Contributor

@c-w c-w commented Jul 7, 2017

This has the advantage that the key is very easy to pass-through from the Azure ARM deployment when we set up the translation Cognitive Service.

Also, the documentation mentions the /sts/v1.0/issueToken as the standard way to authenticate with the translation service going forward, so this will be more future proof, see the docs.

Proof that the new auth works:

image

c-w added 2 commits July 7, 2017 16:21
This has the advantage that the key is very easy to pass-through from
the Azure ARM deployment when we set up the translation Cognitive
Service.

Also, the documentation mentions the /sts/v1.0/issueToken as the
standard way to authenticate with the translation service going forward,
so this will be more future proof, see:
http://docs.microsofttranslator.com/text-translate.html#Authorization
Copy link
Contributor

@jcjimenez jcjimenez left a comment

Choose a reason for hiding this comment

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

LGTM

@c-w c-w merged commit 5c6c4f4 into master Jul 11, 2017
@c-w c-w deleted the translator-auth-update branch July 11, 2017 16:36
@c-w c-w removed the in progress label Jul 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants