Is there a safe/convenient way to have an embeddable JS SDK, that allows authenticating?
I am working on a game portal SDK, that will be embedded/used within various HTML5/webgl games. My backend brain would use a generic oauth flow for these kind of things (where it redirects the whole page to /oauth/authorize like URL), but given that the games could be embedded on various websites or at least on the portal website within an iframe, it would be cool if I could (in case of user not being logged in on parent game portal) show a modal or a popup for authenticating (similar to how google does it?). Any good resources on how to handle/manage these kind of flows?
0 Replies