Log In User Automatically In Angular App


#1

Hi there,
I would like to login automatically a user when accessing the angular 6 application, like any other web application we are using in the company e.g workaday which uses Okta, just log you in when you access it, without asking for a password.

So far what i have done, when a user access the application i check if a session exists using okta-auth-js session.exists then i use token.getWithoutPrompt to automatically authenticate the user, this works fine however,

i would like to know how can i implement the same behavior as workday with the angular app,
user access the app get redirected to a Okta page but that page seems to authenticate the user automatically because the user is already signed on his computer