Hardcode JWT issuer to liberty bikes URL

This commit is contained in:
Andrew Guibert 2018-05-10 15:21:27 -05:00
parent b0cb7b3897
commit 212554a11e
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ public abstract class JwtAuth {
// We'll use this claim to know this is a user token
onwardsClaims.setAudience("client");
onwardsClaims.setIssuer(authUrl);
onwardsClaims.setIssuer("https://auth-service-libertybikes.mybluemix.net");
// we set creation time to 24hrs ago, to avoid timezone issues in the
// browser verification of the jwt.
Calendar calendar1 = Calendar.getInstance();

View File

@ -27,7 +27,7 @@
<mpJwt
id="myMpJwt"
keyName="rebike"
issuer="https://accounts.google.com"
issuer="https://auth-service-libertybikes.mybluemix.net"
audiences="client">
</mpJwt>