1
votes

I have a angular application and identity server 4 application. I have a login page in angular app which have only user name and when user enters his username , i want to send this username to IDs 4 and based on his username i will ask him to login either using password or redirect to AZure AD (i have saved these settings in DB which mode he needs to login).

From angular we are only able to call this method this.oidcSecurityService.authorize(); Can anyone suggest the way to send the username to IS4 from angular application using the angular-auth-oidc-client library.

1

1 Answers

1
votes

OpenID Connect authorization requests can include the username in the login_hint parameter. IdentityServer will then make that available to you via the IIdentityServerInteractionService.

Your client library should allow you to set this query string parameter for authorization requests.