Hi Greg > > I wanted to be able to create a mobile login form that uses jQuery to send > basic auth credentials to avoid using the default login popup presented by > the browser. >
Aha, makes sense. > Now I'm moving towards using a proxy for security and will implement a > login form another way. I believe you recommended using a proxy in a > discussion on another thread. > Yes, proxies can provide a lot of flexibility and control. And it helps to keep TW5 as simple as possible. Best wishes Jeremy > > Thanks, > Greg > > > On Friday, June 13, 2014 10:22:22 AM UTC-4, Jeremy Ruston wrote: > >> Hi Greg >> >> There's no support for handling CORS in the current TW5 server component. >> The client components will of course invisibly use CORS as required. >> >> Supporting it on the server would be simple for the simple cases: >> >> > I want to add CORS support to my server >> > For simple CORS requests, the server only needs to add the following >> header to its response: >> >> > Access-Control-Allow-Origin: * >> >> From http://enable-cors.org/server.html >> >> What is the use case behind your question? >> >> Best wishes >> >> Jeremy >> >> >> >> On Sun, Jun 8, 2014 at 9:51 PM, Greg Marine <[email protected]> wrote: >> >>> I've searched this group to see if CORS is supported. I found it was a >>> goal for TW5. However, I didn't see if it was actually implemented or how >>> to set it. Any help is appreciated! >>> >>> Thanks, >>> Greg >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "TiddlyWikiDev" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> >>> Visit this group at http://groups.google.com/group/tiddlywikidev. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Jeremy Ruston >> mailto:[email protected] >> > -- Jeremy Ruston mailto:[email protected] -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/d/optout.
