ThexXTURBOXx / flutter_web_auth_2

Flutter plugin for authenticating a user with a web service
https://pub.dev/packages/flutter_web_auth_2
MIT License
53 stars 54 forks source link

Added redirectOriginOverride #20

Closed Rexios80 closed 2 years ago

Rexios80 commented 2 years ago

I wanted to test OAuth locally, but the web implementation only processes messages from the same domain. I added a parameter to override the redirect origin for testing so that the MessageEvent can be processed.

ThexXTURBOXx commented 2 years ago

Thanks for the PR! I think, a list as optional parameter would be better. I will merge your PR and add that functionality in a few hours.