Skip to content
Discussion options

You must be logged in to vote

So, I finally got it to work. The last issue seems to have something to do with the Browser. because I was able to sign-in with an android emulator by manually calling the correct controller method after signing in and landing on the signin-google 500 error page. This means, the cookie was set correctly but something seems to go wrong in the GoogleHandler.

By manually catching the specific Error in Startup.cs, I was able to overcome this issue;

app.Use((context, next) =>
            {
                context.Request.Host = new HostString("{MYDEVTUNNEL}-5001.uks1.devtunnels.ms");
    
                //context.Request.PathBase = new PathString("/2.1.9"); //if you need this
                …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by borrmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant