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

Adds AMP Access Server support #49

Merged
merged 2 commits into from
Aug 24, 2016
Merged

Adds AMP Access Server support #49

merged 2 commits into from
Aug 24, 2016

Conversation

andreban
Copy link
Member

  • Change article to be able to use client or server config
  • Respond with signed JWT on the API when auth is being accessed
    in server mode (type=server)
  • Change sample list to link to both client and server version
    of the articles

- Change article to be able to use client or server config
- Respond with signed JWT on the API when auth is being accessed
  in server mode (type=server)
- Change sample list to link to both client and server version
  of the articles
A+VO47/P0H5U2SCXAkBY2ykmcZh+F1fMt3UFk48li6vWnHenRYKeJsPEQAm0ujgQ
v41z3Wnhg65zI8j1o+K9dc0qtgZ/Fsa8c7zTF8SC
-----END RSA PRIVATE KEY-----`;
var ONE_DAY = 1000 * 60 * 60 * 24;
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's change expiration to 5 minutes.

@dvoytenko
Copy link
Contributor

LGTM with one request

@andreban
Copy link
Member Author

Changed timeout to 5 mins.

@andreban andreban merged commit de5a44b into ampproject:master Aug 24, 2016
@@ -17,9 +17,26 @@

var express = require('express');
var router = express.Router();
Copy link
Collaborator

Choose a reason for hiding this comment

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

what is this key for?

@sebastianbenz
Copy link
Collaborator

Would be great if we could add a few comments explaining what's going on.

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.

3 participants