Skip to content
This repository has been archived by the owner. 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 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:
http://docs.microsofttranslator.com/text-translate.html#Authorization
Copy link
Contributor

@jcjimenez jcjimenez left a comment

LGTM

@c-w c-w merged commit 5c6c4f4 into master Jul 11, 2017
2 checks passed
@c-w c-w deleted the translator-auth-update branch Jul 11, 2017
@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
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants