Coder Social home page Coder Social logo

deblokt / identityserver4demos.netcore31 Goto Github PK

View Code? Open in Web Editor NEW
119.0 119.0 77.0 713 KB

This repository contains demo projects for IdentityServer4. To learn how to create these projects yourself you can use my zero to production-ready step-by-step tutorials and client app examples.

Home Page: https://deblokt.com

C# 81.74% HTML 16.49% CSS 1.13% JavaScript 0.64%

identityserver4demos.netcore31's People

Contributors

ivan-sedlak avatar jovanbabic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

identityserver4demos.netcore31's Issues

which login method ?

The identityserver login screen (triggered from the AccountController, via /AcountLogin) is patched in such a way it 'uses' identityserver.
What about the login screen in /Identity/Account/Login?
Is it ok to use that one as well? Are there patches needed to make it identityserver aware?
Cheers
paul.

thanks and please continue

hi
at first very Thanks for your helpful content.
I want to use this code in the production ready.
Do you have any schedule to complete todo?
Thanks

Just sits on login page after successful login

After successfully logging in with bob/Alice and "My long 123$ password", it just sits on the login page.

I see the following in the Asp.Net Core Web Server output window:

[20:23:42 Debug] IdentityServer4.Startup
Error Id Parameter: errorId
[20:23:57 Information] Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler
AuthenticationScheme: Identity.Application was challenged.
[20:24:06 Debug] IdentityServer4.Hosting.CorsPolicyProvider
CORS request made for path: /Account/Login from origin: null but was ignored because path was not for an allowed IdentityServer CORS endpoint
[20:24:15 Debug] IdentityServer4.Hosting.IdentityServerAuthenticationService
Augmenting SignInContext
[20:24:15 Debug] IdentityServer4.Hosting.IdentityServerAuthenticationService
Adding idp claim with value: local
[20:24:15 Debug] IdentityServer4.Hosting.IdentityServerAuthenticationService
Adding auth_time claim with value: 1639013055
[20:24:15 Information] Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler
AuthenticationScheme: Identity.Application signed in.
[20:24:15 Information] IdentityServer4.Events.DefaultEventService
{"Username": "bob", "Provider": null, "ProviderUserId": null, "SubjectId": "861cd41e-b812-4f88-a386-8118d8b832b4", "DisplayName": "bob", "Endpoint": "UI", "ClientId": null, "Category": "Authentication", "Name": "User Login Success", "EventType": "Success", "Id": 1000, "Message": null, "ActivityId": "80000004-0002-f800-b63f-84710c7967bb", "TimeStamp": "2021-12-09T01:24:15.0000000Z", "ProcessId": 8472, "LocalIpAddress": "::1:5000", "RemoteIpAddress": "::1", "$type": "UserLoginSuccessEvent"}
[20:24:15 Information] Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler
AuthenticationScheme: Identity.Application was challenged.

The line I'm curious about is:
CORS request made for path: /Account/Login from origin: null but was ignored because path was not for an allowed IdentityServer CORS endpoint

I'm wondering if it's failing because of this. Or does anybody have an idea what could be wrong?
Thanks!

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.