Code Monkey home page Code Monkey logo

google-gsuite-oauth's People

Contributors

jerriep avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

austad oddconcept

google-gsuite-oauth's Issues

.NET Core v3 with (Bl/R)azor pages?

I've read your blog about the code and it is a great write up.
I'm currently rebuilding my .NET v4.7 + Angular application to .NET Core v3.1 and Blazor.
I'm trying your code to login, but I'm not familiar with MVC and I'm having a hard-time getting the controllers for 'Limiting users to your Organizational domain' to work since .NET Core is handling most of it internally now.

Do you have plans of creating a similar example but now using Razor pages and .Net Core v3+?

Update
I managed to get it working now. But are struggling with showing the profile picture in the login page. I see I get it back from Google in OnCreatingTicket but can't add it as a claim to the user.

Custom error page

Jey Jerrie,

All works great, just this one thing bugs me.

When I log in with a different domain, the GoogleAuthenticationException throws in Visual Studio, but it doesn't take me to the custom Error page. It just shows the good old stacktrace in the browser. When stepping with the debugger in the HomeController it goes through the Error method, creates a ViewModel and should return the Error view, but it just displays the StackTrace.

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.