anchor.diff:  -include("watts.hrl").
   
   -export([
  -         login_with_oidcc/1,
  +         login_with_oidcc/2,
            login_with_access_token/2,
            logout/1,
            session_with_error/1,
  
positive.code:         {ok, none} ->
              do_login_if_issuer_enabled(Issuer, Subject, TokenMap)
      end;
  login_with_oidcc(_BadToken) ->
      {error, bad_token}.
  
  
  
negative.code:          stop_debug/0
          ]).
  
  login_with_oidcc(#{id := #{claims := #{ sub := Subject, iss := Issuer}}}
                   = TokenMap, #{req := Req}) ->
      {Cookies, _} = cowboy_req:cookies(Req),
      Cookie = case lists:keyfind(watts_http_util:cookie_name(), 1, Cookies) of
                   false -> undefined;
                   {_, Data} -> Data
               end,
      case get_session_type(Cookie) of
          {ok, oidc, SessionPid} when is_pid(SessionPid) ->
              do_additional_login(Issuer, Subject, TokenMap, SessionPid);
  