Hi there,
I have read documents about Oauth endpoint and Login api.
When I tried the authorization code using OAuth endpoint such as:
http://localhost:9011/oauth2/authorize?client_id=d24952b4-524d-490b-a3f4-b1a314050089&redirect_uri=http://localhost:4200/oauth2-callback&response_type=code&tenantId=cc18006b-f2ca-4582-9fc4-fc19a1578802
The login page was displayed
I could sign in successfully, if I tried to use the above OAuth2 endpoint above, no login page displayed and I would be redirected to my Front-end web page, which was good.
However, when I tried with /api/login endpoint:
Even user session was created successfully (Tenant 02 - IoT Warehouse 02) as the below image
If I tried with the OAuth2 endpoint above, the login page still displayed as I haven't logged in yet.
My question is: Can I prevent login page from being displayed if I successfully login using /api/login