##Urgent requirement##
Hi Team,
below is the code(partial) using which I am able to generate JWT token and subsequently access token using single scope=profile,
how to combine another scope (offline_access) to generate JWT token which which gives me access token as well as refresh token
claims.put("aud", "http://localhost:4502/oauth/token");
claims.put("iss", "u3a3i5pn1mgalf3fq7oof8jk33-iyz0qx0v");
claims.put("sub", "admin");
claims.put("exp", exp);
claims.put("iat", iat);
claims.put("scope", "profile");
//claims.put("scope", "offline_access");
claims.put("cty", "code");
token = Jwts.builder().setClaims(claims).signWith(SignatureAlgorithm.RS256, privateKey).compact();
Thanks Regards,
Sriram