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

origin when calling from not web apps ? #74

Open
cladelpino opened this issue Jul 7, 2024 · 1 comment
Open

origin when calling from not web apps ? #74

cladelpino opened this issue Jul 7, 2024 · 1 comment

Comments

@cladelpino
Copy link

Hi, I'm getting this error when trying to access the API from a client (Android Tasker app) {"Message":"User is not authorized to access this resource with an explicit deny"}

I was not able to set an empty origin since I don't plan to use it from web apps. I set it to http://localhost.

What should be the right settings to access the API from non web apps clients?

thanks in advance

@astroanu
Copy link
Member

astroanu commented Jul 8, 2024

Origin was implemented long time ago but it's unused at this moment and probably will be removed in the future.

Since you're calling from a server it doesn't matter anyway. You can put your website domain or any domain you like.

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

2 participants