كيفية مشاركة رمز المصادقة والبقاء آمنًا؟

Hello Community.
I need an advice. What is the safest and easiest way to share a Discourse auth token ("_t" cookie) with another app on another domain?

I want to use the Discourse as a backend for Nuxtjs app.

إعجاب واحد (1)

This will help for sure.

https://meta.discourse.org/t/discourse-api-documentation/22706/297

I’m sure it will help, but it didn’t answer my question.

إعجاب واحد (1)

I think you need to check how the user api authenticates to discourse. You’ll need to replicate the logic the official app uses. Cookies aren’t the way to go IMHO.

إعجابَين (2)