코딩/Play
Play - Vue에서 google signin 적용
타다키치
2018. 7. 5. 23:36
contentSecurityPolicy에 추가
https://apis.google.com https://content.googleapis.com https://accounts.google.com
routes에 + nocsrf
나중에 csrf 적용
index.scala.html에 추가
<script async defer src="https://apis.google.com/js/api.js"
onload="this.onload=function(){}"
onreadystatechange="if (this.readyState === 'complete') this.onload()"></script>
google console에서
play app host 추가