Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

signinUrl with internet url error Access-Control-Allow-Origin #21

Open
essivision opened this issue Jun 13, 2016 · 0 comments
Open

signinUrl with internet url error Access-Control-Allow-Origin #21

essivision opened this issue Jun 13, 2016 · 0 comments

Comments

@essivision
Copy link

Hi

When I use $authProvider.signinUrl with external url (non-localhost) like this:

$authProvider.signinUrl = 'http://example.com/public/api/authenticate';

Show me this error in console:

XMLHttpRequest cannot load http://example.com/public/api/authenticate. 
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant