iainporter / oauth2-provider

Implementation of an oauth2 provider
Apache License 2.0
226 stars 181 forks source link

Added CORS support #1

Closed jvence closed 10 years ago

jvence commented 10 years ago

Added CORS support through a filter to allow resources to be requested from other domains. This is important if your client and your server do not reside on the same server or are running on different ports. Please note that filter is not being called for some reason but it has to do with how you've configured your project. If you can take a look at it and see why it's not being called. Otherwise it's very straightforward.

iainporter commented 10 years ago

you can test it with this client https://github.com/iainporter/oauth2-provider-test-client

See README