Skip to content

Commit

Permalink
fix: indentation (#1821)
Browse files Browse the repository at this point in the history
  • Loading branch information
maduvena committed Jul 19, 2022
1 parent 31d750b commit 8353092
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def modifyRefreshToken(self, refreshToken, context):
# context is reference of io.jans.as.server.service.external.context.ExternalUpdateTokenContext (in https://github.com/JanssenProject/jans-auth-server project, )
def modifyAccessToken(self, accessToken, context):
print "Update token script. Modify AT: "
sessionIdService = CdiUtil.bean(SessionIdService)
sessionId = sessionIdService.getSessionByDn(context.getGrant().getSessionDn()) # fetch from persistence
sessionIdService = CdiUtil.bean(SessionIdService)
sessionId = sessionIdService.getSessionByDn(context.getGrant().getSessionDn()) # fetch from persistence
client_id = sessionId.getSessionAttributes().get("client_id")

# get org_id from client_id
Expand Down

0 comments on commit 8353092

Please sign in to comment.