mirror of
https://github.com/OpenLiberty/liberty-bikes.git
synced 2025-01-18 10:23:58 +08:00
Hardcode JWT issuer to liberty bikes URL
This commit is contained in:
parent
b0cb7b3897
commit
212554a11e
@ -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();
|
||||
|
@ -27,7 +27,7 @@
|
||||
<mpJwt
|
||||
id="myMpJwt"
|
||||
keyName="rebike"
|
||||
issuer="https://accounts.google.com"
|
||||
issuer="https://auth-service-libertybikes.mybluemix.net"
|
||||
audiences="client">
|
||||
</mpJwt>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user