esbenp / esbenp/larapi

How to consume with JS App?

Open
#44 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
399
Forks
114
PR merge metrics
No merged PRs in 30d

Description

Hey, having trouble consuming this with a JS app. Let's assume the endpoints are at api.domain.com but the client is loaded from domain.com. The CORS bit isn't really an issue but I can't use the refresh token because it's in an HTTP ONLY cookie. So, how would one go about consuming this API from a js client on a different domain?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.