# Integrating external provider using oidc protocol

**URL:** <https://devforum.okta.com/t/integrating-external-provider-using-oidc-protocol/30111>\
**Category:** Questions\
**Tags:** idp\
**Created:** [August 19, 2024, 2:07pm UTC](https://devforum.okta.com/t/integrating-external-provider-using-oidc-protocol/30111 "2024-08-19T14:07:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wallacez1](https://avatars.discourse-cdn.com/v4/letter/w/6f9a4e/32.png) [@wallacez1](https://devforum.okta.com/u/wallacez1)\
**Post date:** [August 19, 2024, 2:07pm UTC](https://devforum.okta.com/t/integrating-external-provider-using-oidc-protocol/30111/1 "2024-08-19T14:07:53Z")

</div>

Hi Everyone,

I’m currently working on integrating a biometric authentication solution called FaceTec with Okta. FaceTec consists of a client and an API, and the goal is to integrate it as an external Identity Provider (IdP) using the OpenID Connect (OIDC) protocol. After reviewing the [Okta documentation](https://developer.okta.com/docs/guides/add-an-external-idp/openidconnect/main/), I’ve outlined the following authentication steps:

1. The user clicks a link and is redirected to Okta.
2. Okta redirects the user to our external provider’s `/authorize` endpoint.
3. Our external provider authenticates the user via FaceTec and returns an authorization code to Okta.
4. Okta exchanges the authorization code for tokens and redirects back to a predefined `redirect_uri`.
5. The user is authenticated and granted access.

I would appreciate it if someone could help me validate whether this design is correctly structured or if there are any adjustments needed. Specifically, I’m looking for confirmation on:

- The accuracy of each step in aligning with OIDC protocols.
- Any common pitfalls or additional configurations required on both Okta and the external provider side to ensure a smooth integration.

---

<div class="post-metadata">

**Author:** ![jmussman](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/jmussman/32/2175_2.png) [@jmussman](https://devforum.okta.com/u/jmussman)\
**Post date:** [August 20, 2024, 9:25pm UTC](https://devforum.okta.com/t/integrating-external-provider-using-oidc-protocol/30111/2 "2024-08-20T21:25:59Z")

</div>

That is authorization code flow in a nutshell. You are going to use the OIDC identity provider (under Security) to establish the connection. On the FaceTec side you need to build application configurations, just like you build them in Okta. The Okta side needs the URL for the authorization server, the clientID of the application configuration, and a client secret from FaceTec. If the FaceTec side works right, it should come together very easily.

Future note: OAuth2.1 will require everyone to use Authorization Code Flow with PKCE, so there may be a point at which you have to deal with proof key for code exchange in FaceTec.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [September 2, 2024, 8:51pm UTC](https://devforum.okta.com/t/integrating-external-provider-using-oidc-protocol/30111/3 "2024-09-02T20:51:43Z")

</div>

Closed on September 2, 2024, 8:51pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
