ordercloud-api / headstart

A complete and opinionated eCommerce solution using OrderCloud as the backbone - built with .NET Core and Angular
MIT License
31 stars 74 forks source link

Headstart integration with OpenId Connect #506

Open donntorres35 opened 1 year ago

donntorres35 commented 1 year ago

Hello all, new to OrderCloud product. We're currently using the Headstart for scaffolding our SPA project and we're planning on integrating it with an IDP, which is Okta.

We setup the OpenIdConnect integration and was able to get the access token to the buyer app. Once it gets to the buyer's login component, we're reading the accesstoken and calling the loginWithTokens function and basically have that takeover the manual login screen. This seems to let us in but features are broken as I think some of the context is missing when we login via access token, vs when we manually login using username and password, it seems to work. I can't find any documentation for OIDC for the headstart buyer app, please send any insights or assist. TIA