fusionfabric / ffdc-sample-csharp

Leverage CSharp to implement OAuth2 flows for FusionFabric.cloud
MIT License
1 stars 2 forks source link

Need help on b2c request csharp code #6

Open shivbuddhaatcapgemini opened 4 years ago

shivbuddhaatcapgemini commented 4 years ago

Hi, 1) I Cloned the repo and followed the steps as per read me 2) B2B : i could run successfully with ClientAuthenticationMethod in client_secret 3) B2C : fails with error msg "Invalid parameter: redirect_uri" 4) Url at the error is : https://api.fusionfabric.cloud/login/v1/sandbox/oidc/authorize?client_id=73a8e4e4-b872-4636-9518-0e78467b55dc&redirect_uri=http%3A%2F%2Flocalhost%3A5000%2Fsignin-oidc&response_type=code&scope=openid%20profile&code_challenge=GIUeDBqj8-gykBZix4h_LicR4IEnfBAG6xmOGENsowo&code_challenge_method=S256&nonce=637269593363392536.MjRmYzFhMjUtNzY2ZC00MWJiLWJkNzYtN2E2NGI4M2RlMzVkZWEwMWVhYTUtMDZkNS00Yjg3LWI4NWYtMjYzNzAyNzdjNWYy&state=CfDJ8LY1V1u3z3dAreIWpoNrDVir3bsSFqv0Z9a1Dqjag7kY2I6ylvHaC1C1B8lf48vLPWm0JvueTZYfoYF73Q_L3Rt--ZoJIUhoh2mRmxsCYS5PzmFAiWHJAKNeLGPROoFevj39q1Zy1DGyZR6a7cEaCvb72gSZ9T3G1v6L-5KYWUCFtPzOzU3-7Uh4pnj0v9gaKWPWdVTJz8mCVjrW455pA4adcCPflkyB8rVsPVoA135nnIwIGwLhFuuQuMEMlvPu3m_CqvBHFQB9QLq9GTYLljkjPnMDk5YScyFq7PXu5hSKQ_uXJpFEH05LdkWrc6iFhXgxJKQHRixMWVXJGKZ6nbcN4Q6QKtWJiuTd-YZ0aVlbapMfhm75nVAwyhG7Hh9Q0Q&x-client-SKU=ID_NETSTANDARD2_0&x-client-ver=5.5.0.0

kbennaoui commented 4 years ago

Hi!

I got the same error. If someone can help it will be great. Thank you.