I'm using Okta Authentication in our angular 14 application, This is a SPA. How can I know that The currently authenticated user logged in to the application the first time so that we can fetch the details of that user's last login date & time etc.?

import { OktaAuthService } from '@okta/okta-angular';
constructor(public oktaAuth: OktaAuthService....

function login(){
this.oktaAuth.getUser()  //** using this not able to get isNewuser or Not



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.