mirror of
https://github.com/OpenLiberty/liberty-bikes.git
synced 2025-01-30 10:40:13 +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
|
// We'll use this claim to know this is a user token
|
||||||
onwardsClaims.setAudience("client");
|
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
|
// we set creation time to 24hrs ago, to avoid timezone issues in the
|
||||||
// browser verification of the jwt.
|
// browser verification of the jwt.
|
||||||
Calendar calendar1 = Calendar.getInstance();
|
Calendar calendar1 = Calendar.getInstance();
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
<mpJwt
|
<mpJwt
|
||||||
id="myMpJwt"
|
id="myMpJwt"
|
||||||
keyName="rebike"
|
keyName="rebike"
|
||||||
issuer="https://accounts.google.com"
|
issuer="https://auth-service-libertybikes.mybluemix.net"
|
||||||
audiences="client">
|
audiences="client">
|
||||||
</mpJwt>
|
</mpJwt>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user