Skip to content

Commit

Permalink
bugfix/ObpS does not contain response parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
constantine2nd committed Nov 5, 2024
1 parent 230afb0 commit 8527d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion obp-api/src/main/scala/code/api/openidconnect.scala
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ object OpenIdConnect extends OBPRestHelper with MdcLoggable {
private def extractParams(s: S): (String, String, String) = {
// TODO Figure out why ObpS does not contain response parameter code
val code = s.param("code")
val state = ObpS.param("state")
val state = s.param("state")
val sessionState = OpenIDConnectSessionState.get
(code.getOrElse(""), state.getOrElse("0"), sessionState.map(_.toString).getOrElse("1"))
}
Expand Down

0 comments on commit 8527d80

Please sign in to comment.