identitymodel

WinFormsSample with 'native.hybrid' Client does no longer work?

纵饮孤独 提交于 2020-02-06 03:47:21
问题 if I change the client in this sample to 'native.hybrid' https://github.com/IdentityModel/IdentityModel.OidcClient.Samples/tree/master/WinFormsWebView and set Flow = OidcClientOptions.AuthenticationFlow.Hybrid then the login to IS4 works (after a 5s delay), but a new login form appears in my default web browser. With the client 'interactive.public' works fine. My question is wich flow should I used for my native widows app? I mean it is the 'OpenID Connect Hybrid Flow' see https:/

oauth2 : “sub claim is missing from userinfo endpoint” Microsost open ID Connect - OIDC CLient

非 Y 不嫁゛ 提交于 2020-01-25 10:13:30
问题 I am using microsoft OidcClient for oauth2.0 for google accounts and I am getting "sub claim is missing from userinfo endpoint" error." Can anyone suggest if I am missing anything or doing anything wrong. public async Task Authorize () { InitializeComponent (); var providerInformation = new ProviderInformation { IssuerName = "accounts.google.com", AuthorizeEndpoint = "https://accounts.google.com/o/oauth2/auth", TokenEndpoint = "https://oauth2.googleapis.com/token", //UserInfoEndpoint = "https