Okta configuration to login with user alias

Hello everyone,

Right now when I am consuming the okta API to authenticate it allows me, however the authentication must be with the email like this:


But I would like to log in with an alias like this: test123 or whatever different to the email.

Do you know if is there any way to do that or definitively is there any limitation in the okta service?

If you are making requests directly to the Okta API, you MUST provide the user’s actual login/username to authenticate.

If you are using a custom widget (okta-hosted or self-hosted) you can convert the username provided by the user (in this case, test123) into the actual Okta login/username before the widget makes the /authn request using the transformUsername method.

In either case though, the /authn endpoint will be sent the user’s actual username.