anchor.diff:  handle_oidc_token({ok, Token}, Req, #state{session=Session}=State) ->
       {ok, OpenIdProviderId} = tts_session:get_oidc_provider(Session),
       {ok, OidcNonce} = tts_session:get_oidc_nonce(Session),
  -    IdToken = oidcc:parse_and_validate_token(Token,OpenIdProviderId ,OidcNonce),
  -    ok = set_user(get_user(IdToken),Session),
  -    redirect_to(user_page, Req, State);
  +    ok = tts_session:clear_oidc_state_nonce(Session),
  +    VerToken = oidcc:parse_and_validate_token(Token,OpenIdProviderId ,OidcNonce),
  +    try_to_set_user(VerToken, Req,State);
  +    %% redirect_to(user_page, Req, State);
   handle_oidc_token({error, Error}, Req, State) ->
       show_error_page(Error, Req, State).
   
  
positive.code:     {ok, Body} = tts_user_dtl:render(Params), 
      show_html(Body, Req, State). 
  
  
  redirect_to(auth_server, Req, #state{op_id = OpenIdProvider, session=Session} = State) ->
      {ok, OidcState} = tts_session:get_oidc_state(Session),
  
negative.code:                 end,
      lists:foldl(KeyToAtom,#{},List).
  
  