I am looking to setup OAuth2 authentication in RStudio Connect to authente against Azure B2C using OpenID. I have configured the rstudio-connect.gcfg file with the authentication settings mentioned in the documentation as follows.
Provider = "oauth2"
OpenIdConnectIssuer = https://xxxx.b2clogin.com/xxxx.onmicrosoft.com/b2c_1_si
RequireUsernameClaim = true
When trying to authenticate, it doesn't look like it even tries to redirect to the B2C login page, and just displays a login error message.
Please can you advise how to configure the rstudio connect config file and app registration in Azure b2c to get the authentication to work correctly.