Select to view content in your preferred language

How to hide the login dialog box when I use token

446
2
Jump to solution
01-05-2023 07:26 PM
rendtime
Emerging Contributor

I use "IdentityManager. generateToken" to generate tokens,

and "IdentityManager. registerToken" to register tokens.

There may be some errors during the access, such as unauthorized and user errors.

At this time, the login dialog will pop up.

However, I never want it to pop up. I just print the error information on the console

0 Kudos
1 Solution

Accepted Solutions
JoelBennett
MVP Regular Contributor

The solution described in this post may be what you're looking for.

View solution in original post

0 Kudos
2 Replies
JoelBennett
MVP Regular Contributor

The solution described in this post may be what you're looking for.

0 Kudos
rendtime
Emerging Contributor

Can work, although not perfect, thank you

0 Kudos