ritterim / stuntman

Library for impersonating users during development leveraging ASP.NET Identity.
https://rimdev.io/stuntman/
MIT License
294 stars 35 forks source link

Impersonating Google bearer token #155

Open DejanMilicic opened 7 years ago

DejanMilicic commented 7 years ago

I am using Google authentication for user login in my app. Would it be possible to use stuntman to impersonate users, and if so, how? Thanx!

DejanMilicic commented 7 years ago

@kendaleiv Maybe some general pointers? :)

kendaleiv commented 7 years ago

@DejanMilicic Check this out: https://github.com/ritterim/stuntman/issues/114#issuecomment-203395893

Does that help?

DejanMilicic commented 7 years ago

I am using Google Auth inside of ASP.NET Core project, so I am not quite sure how to do it. Are you suggesting that I should inject my own implementation of Principal over default one?