Page 1 of 1

Only see JSON data after login

Posted: Mon Sep 26, 2022 3:55 pm
by zunair

I am using version 2023.1.

When i login, then at first a blank page open and show this :

{"url":"index"}

with blank white page


Re: After Login

Posted: Mon Sep 26, 2022 6:26 pm
by arbei

There are too many combinations of login settings to reproduce. You need to post all security settings related to login in your project so other users can try to reproduce. For example, you may start with the demo project and describe what you have changed to the demo project. If you are registered user, you better send your project to support.


Re: After Login

Posted: Thu Sep 29, 2022 9:20 pm
by arbei

stmontoya wrote:

the solution was to select two-factor authentication

Now there is a piece of valuable information, but you may want to post more info.

As always, you better enable Debug to log everything so you can see the actual error message and the stack trace so you can find out the root cause of the problem.


Re: After Login

Posted: Fri Sep 30, 2022 2:27 pm
by zunair

@stmontoya is right. When I Enable Two Factor Authentication, then there is no problem.


Re: After Login

Posted: Fri Sep 30, 2022 3:18 pm
by arbei

If you can post more info, you'll help other users.

  • Have you set up the Profile field and Encryption Key as prompted?
  • Do you use User Level Security?
  • Do you login as a normal user or as a user of the administrator level, or just as the hard-coded administrator?
  • Do you use modal login?
  • Which kind of 2FA? (Google? Email? SMS?)
  • Did the user enable 2FA (since it is not forced) when the error occurred?
    etc.

Re: Only see JSON data after login

Posted: Fri Sep 30, 2022 7:07 pm
by zunair

Force two-factor authentication is not necessary for this error removal.

Have you set up the Profile field and Encryption Key as prompted?
(Yes)
Do you use User Level Security?
(Yes)
Do you login as a normal user or as a user of the administrator level, or just as the hard-coded administrator?
(Checked all 3)
Do you use modal login?
(Yes)
Which kind of 2FA? (Google? Email? SMS?)
(Any)
Did the user enable 2FA (since it is not forced) when the error occurred?
(Forced is not necessary)


Re: Only see JSON data after login

Posted: Sat Oct 01, 2022 10:00 am
by arbei

zunair wrote:

Do you use modal login? (Yes)

From which page you open the modal login dialog?

Did you enable the advanced setting "Use Ajax actions (List page)"?


Re: Only see JSON data after login

Posted: Sat Oct 01, 2022 12:44 pm
by zunair

From which page you open the modal login dialog?

By default login page is opened

Did you enable the advanced setting "Use Ajax actions (List page)"?

I unchecked the two factor authentication and checked "Use Ajax actions (List page)" but error is still the same.


Re: Only see JSON data after login

Posted: Mon Oct 03, 2022 6:33 pm
by Webmaster

Try 2023.2.