networknt / light-oauth2

A fast, light and cloud native OAuth 2.0 authorization microservices based on light-4j
Apache License 2.0
313 stars 75 forks source link

use document.referrer to use for google and facebook url for cookies #295

Closed stevehu closed 4 years ago

stevehu commented 4 years ago

The light-spa-4j Google and Facebook auth handlers can only set cookies if the domain is the same. So we need to use https://dev.lightapi.net and https://lightapi.net and https://maproot.net