How to do Okta sso

I need to integrate Okta as an SSO provider for my ASP.NET web application.

Could you please clarify the recommended steps to properly configure Okta SSO and integrate it with an ASP.NET application?

Currently, I have an Application Integration configured as an API Service (using Client Credentials flow with private key authentication). This integration is used for server-to-server communication.

  1. Can this existing API Service integration be reused for implementing SSO login?

  2. Or do I need to create a separate OIDC Web Application integration specifically for user authentication (Authorization Code flow)?

My goal is to redirect users to Okta for authentication and then handle the callback in my ASP.NET app. Are there any official Okta design guidelines for implementing a “Sign in with Okta” button?

Hi,

You would need to create a separate Web App to handle the Auth Code flow. The existing API Service integration app can’t be used for SSO purposes.

Regarding docs, we have one with ASP.NET Core - Sign users in to your web app using the redirect model | Okta Developer

Is there any official Okta design guidelines for implementing a “Sign in with Okta” button?

As far as I know, there isn’t any guideline regarding the button design.