Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 31 04:17
    lodejard commented #56
  • Oct 30 15:51
    jasonsirota commented #56
  • Oct 30 14:04
    Tratcher commented #56
  • Oct 30 12:40
    panesofglass commented #56
  • Oct 30 12:39
    panesofglass commented #56
  • Oct 30 01:57
    skoon commented #56
  • Oct 29 23:08
    teo-tsirpanis commented #56
  • Oct 29 23:06
    jasonsirota commented #56
  • Oct 29 12:05
    panesofglass commented #56
  • Oct 27 16:48
    serialseb commented #56
  • Oct 17 21:15
    teo-tsirpanis opened #56
  • Mar 31 23:02
    Tratcher commented #49
  • Mar 31 22:58
    pedroteixeira commented #49
  • Dec 31 2019 15:41

    panesofglass on master

    Simplify.Web link update to it'… Merge pull request #13 from i40… (compare)

  • Dec 31 2019 15:41
    panesofglass closed #13
  • Dec 29 2019 17:28
    i4004 opened #13
  • Sep 16 2019 14:19

    panesofglass on master

    Simplify.Web link update to new… Merge pull request #12 from i40… (compare)

  • Sep 16 2019 14:19
    panesofglass closed #12
  • Sep 15 2019 12:11
    i4004 opened #12
  • Sep 06 2018 13:02
    panesofglass commented #11
Shonn Gilson
@shonng
Hi, I have an Angular 2/MVC 5 web application that uses OWIN to authenticate against Azure AD. I'm having an issue where the semicolons in the matrix url that Angular 2 uses gets encoded on the return redirect. So, 1) does OWIN handle preserving the return url? 2) If so, does OWIN encode semicolons in that url.
Yaser Moradi
@ysmoradi
@shonng You can develop a separate owin middleware which writes html page to response, at that html, you can read entire url (even those after #), then you can write access token to localstorage, after that you can redirect back to your angular app. It works like a charm for me. You can see a sample here >> https://github.com/bit-foundation/bit-framework/blob/master/src/Server/Bit.Owin/Middlewares/SignInPageMiddleware.cs
Then you can add it to your owin app using >> app.Map("/SignIn" , signInApp => signInApp.Use<SignInPageMiddleware>()); then set /SignIn as url post login redirect. At this line of that html (https://github.com/bit-foundation/bit-framework/blob/master/src/Server/Bit.Owin/Middlewares/SignInPageMiddleware.cs#L50) I'm returning back to my angular app.
David Fowler
@davidfowl
@ysmoradi nice! It's been done a number of times. You should take it further and integrate the dependency injection system
Shonn Gilson
@shonng
The library I am using is Microsoft.OWIN and the problem is that they encode semicolons in urls. I don't want to develop my own fork so I just switched to using querystrings instead of matrix urls.
Yaser Moradi
@ysmoradi
@davidfowl bit-framework is a owin based framework which supports signalr, odata, web api, identity server and bunch of other modules like background job worker in both ASP.NET-Katana & ASP.NET Core projects. Including ability to develop a client side app for it by any language/platform, It has dedicated client side support for typescript-javascript-C#, with true offline first experience in web/mobile apps + it has rad components like grid, multi select etc with paging, filtering, sorting etc on both offline db and server side odata. lots of best practices applied already including dependency injection. Initial version of docs can be found under https://docs.bit-framework.com and first public release is planned in next 45 days. Hope you find it worthful (:
David Fowler
@davidfowl
Wow! Nice!
Ryan Riley
@panesofglass
@iceteagroup have you submitted a PR? I would be happy to add your product to the website. Same for you, @ysmoradi. @damianh, want to add your lib there, too? PRs welcome!
I think most of them should be added to this section of index.html: https://github.com/owin/owin.github.io/blob/master/index.html#L131-L139
Also, what's the status of owin/owin#29
We have a bunch of spec proposals we never voted on. Should we start trying to move those forward again?
Yaser Moradi
@ysmoradi
@panesofglass yeah, it's cool :) I'm gonna do that right after we uploaded the main site!
Ryan Riley
@panesofglass
:+1:
Ryan Riley
@panesofglass
Please ping me here after you submit the PRs; I have been checking, but I'm known for going a long time without noticing GitHub notifications.
josephgardner
@josephgardner
How do you use the same correlation id in owin middleware and web api?
Owin has requestid and httprequestmessage has getcorrelaionid. Anyway to have both share the same value?
Jean van Dender
@JeanVanDenderFlume
hello anybody of you use entity framework?
ShijunLiu
@WoJoinGitHub
hello everyone
Mauricio Molinero
@pipi772_twitter
hello!!!
not too much action here
Ryan Riley
@panesofglass
no, the spec work has slowed to a crawl. :)
Yaser Moradi
@ysmoradi
;-)
Jeff Tillwick
@crazyjat
Anyone able to answer a question about using rewrite module with owin?
Jeff Tillwick
@crazyjat
Well, maybe someone knows how to help anyway. I have a simple Owin project I created from the Owin WebApi SPA Template in VS2015. All of my html is in the public folder at the root of the project. I need to enable html5mode redirects to index.html for non existing files and directories. The problem is that REQUEST_FILENAME does not include the public directory in the path string. For example http://localhost:1337/main.js shows that the file is actually located at c:\TestApp\main.js instead of c:\TestApp\public\main.js. This is the rule I'm using: https://gist.github.com/brandanmajeske/ec99043d9af49f2bd7c2
Ryan Riley
@panesofglass
I built an OWIN middleware to handle that sort of thing. I haven't used IIS rewrite rules in a long time.
afishpro
@afishpro
Hello, I have a question. How does owin parse the file uploaded by the user? .Files can be obtained directly in HttpReques, and owin does not know how to deal with it
Ryan Riley
@panesofglass
@CrazyNiutou OWIN is merely an abstraction layer and does not handle the details. You have to either write or use a middleware or application delegate to handle the parts of the OWIN dictionary you want to use.
jasonwucinski
@jasonwucinski
Hello. I am new to using OWIN, and have a question, which I am not sure I am asking correctly. If it is OK, as the question is quite long, I have posted it on StackOverflow, but have not received any responses. Can anyone help me out with this? I am not even sure if what I am trying to do is possible. There doesn't seem to be a lot of out there to help: https://stackoverflow.com/questions/48174048/sso-with-azure-adfs-and-owin
Cristian Eriomenco
@cristian-eriomenco
Hey guys! Whats the purpose of OwinContext.Environment.Extra and StrongExtra ?
Robert Dickow
@UncleBudsy_twitter
OWIN works great for me. Recently in one of my MVC web apps the call to UserManager.EmailService.Send() has sporadically failed (say, for an imaginary email address) without raising an Exception. I know this is not OWIN's fault. To fix it I replaced the call for sending an email confirmation code in the MVC UserManager with my own email sending routine. Now solid. Anybody else notice issues with VS MVC 5's templated routine for this? Funny it won't raise Exceptions... maybe because it uses awaited tasks?
Probly' wrong place to post that just now... just tossed it out there.
aseemu
@asimmca1234_twitter
hi all
iam new to owin .i want to host my webapi on owin need help
Yaser Moradi
@ysmoradi
@asimmca1234_twitter Where do you want to host you web api owin app?
Andreas Pardeike
@pardeike
Hello everyone. Windows Authentication is not my strong suite so maybe this is a dumb question. At our company, we made a custom token based authentication framework/protocol very much like oauth2. The token appears as a header on calls to any server and is self contained. Works great with a custom J2EE security context provider we made. Now we want this for a range of windows based solutions we have. Is this possible to build a module in a generic way and where would I start to look for more info? /Andreas
ashutosh singh
@s2421991_twitter
i am implement linkedin login with owin but alway return null data .how can sove it .please any one help
David
@djuliano
the hell is owin
NAWAZ UDDIN
@nawaz-552
I am trying Owin for role based authorization in my application with existing database in sql server any tutorial
ashutosh singh
@s2421991_twitter
done login google facebook using owin
Saleh Yusefnejad
@msynk
@panesofglass , I've submitted a PR to add bit-framework to the website. please review it. tnx alot.
Yaser Moradi
@ysmoradi
@msynk Thumbs up!
reyou
@reyou
@s2421991_twitter any code to share?
maybe it can help to community.
Shubhadeep
@shubhadeepchat_twitter
I am new in OWIN, I am actually trying to implement it in VS 2012 web api. I have implemented all the thing mentioned https://blogs.perficient.com/2017/06/11/token-based-authentication-in-web-api-2-via-owin/. But I am getting 17 errors, which are all about the implementing methods of Microsoft.Owin.Security.OAuth.IOAuthAuthorizationServerProvider. How can I resolve those errors to build my application.
Coffee Digital
@coffeedigital_gitlab
Hi Guys
I need Help
Who to create a SelfHost in Dotnet Core using Owin?
The Sharp Ninja
@sharpninja
I see that things concerning OWIN are pretty slow. Has a specific alternative replaced it?
hlahoud
@hlahoud
hello i am using owin for microsoft authentication i an MVC web app i have a question does microsoft acc have an specific Id so i can store it in the DB or i can only use the email
Ryan Riley
@panesofglass
@sharpninja OWIN is just a specification and, at present, considered fully defined. Interest waned as ASP.NET Core was released and has, for the most part, superceded the original goals of OWIN. Some still use it, though, and it's still quite useful if you are on ASP.NET 4 or .NET 4 full framework.