reactjs-ts-identityserver icon indicating copy to clipboard operation
reactjs-ts-identityserver copied to clipboard

Demo app for using Identity Server with React.js SPA, .Net Core 3.0 and TypeScript

Results 24 reactjs-ts-identityserver issues
Sort by recently updated
recently updated
newest added

Please add the protected route to the project SPA. For example contact is protected when user try to access contact page user redirect to login page.

No post logout redirect ?

[{"_id":"63105540418f745b4a6679a2","body":"Unfortunately no, I didn't get it to work. I did research the issue and as you probably saw, other people seem to have problems making it work.. I'll try to look in to it again when I have the time ","issue_id":1659888573453,"origin_id":384391069,"user_origin_id":7251011,"create_time":1524681461,"update_time":1524681461,"id":1662014784127,"updated_at":"2022-09-01T06:46:24.127000Z","created_at":"2022-09-01T06:46:24.127000Z"},{"_id":"63105540418f745b4a6679a3","body":"@ThunderDev1 I did, by creating the following method in the account controller:\r\n\r\n[HttpGet]\r\n [AllowAnonymous]\r\n public async Task<IActionResult> Logout(string logoutId)\r\n {\r\n var logout = await _interaction.GetLogoutContextAsync(logoutId);\r\n await _signInManager.SignOutAsync();\r\n _logger.LogInformation(\"User logged out.\");\r\n return Redirect(logout.PostLogoutRedirectUri);\r\n }","issue_id":1659888573453,"origin_id":384557651,"user_origin_id":35696903,"create_time":1524731370,"update_time":1524731370,"id":1662014784134,"updated_at":"2022-09-01T06:46:24.133000Z","created_at":"2022-09-01T06:46:24.133000Z"},{"_id":"63105540418f745b4a6679a5","body":"I think id_token_hint should be used in logout-function(Spa - Nav.tsx):\r\n const logout = (event: any) => {\r\n event.preventDefault();\r\n **userManager.getUser()\r\n .then(user => {\r\n userManager.signoutRedirect({ 'id_token_hint': user.id_token });\r\n });**\r\n userManager.removeUser();\r\n };\r\n","issue_id":1659888573453,"origin_id":528736504,"user_origin_id":19922263,"create_time":1567753111,"update_time":1567753111,"id":1662014784137,"updated_at":"2022-09-01T06:46:24.137000Z","created_at":"2022-09-01T06:46:24.137000Z"},{"_id":"63105540418f745b4a6679a6","body":"Yes, that seems to be it, according to [http:\/\/docs.identityserver.io\/en\/latest\/endpoints\/endsession.html](this) you also need to pass the post_logout_redirect_uri. For some reason identity server is not providing the id_token, not sure what is missing.","issue_id":1659888573453,"origin_id":545168285,"user_origin_id":7251011,"create_time":1571780475,"update_time":1571780475,"id":1662014784140,"updated_at":"2022-09-01T06:46:24.139000Z","created_at":"2022-09-01T06:46:24.139000Z"}] comment

@ThunderDev1 I'm trying to use the post logout redirect within a similar SPA client... I noticed you didn't follow the same approach. My question is: did you manage to make...

question

Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.2. Release notes Sourced from express's releases. 4.18.2 Fix regression routing a large stack in a single route deps: [email protected] deps: [email protected] perf: remove unnecessary...

dependencies

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...

dependencies