incubator-answer icon indicating copy to clipboard operation
incubator-answer copied to clipboard

auto login or login/logout api?

Open fujohnwang opened this issue 1 year ago • 5 comments

Is your feature request related to a problem? Please describe

I want to integrate answers with existing account system.

Describe the solution you'd like

If I can auto-login user with existing id or call login/logout API, Then the two systems will work together perfectly.

Describe alternatives you've considered

Or exposing session token generation api / logic?

fujohnwang avatar Jun 29 '24 13:06 fujohnwang

If you want the API docs. Here is https://answer.apache.org/docs/api#quick-look Perhaps you can achieve your requirement by implementing a plugin. https://github.com/apache/incubator-answer-plugins

LinkinStars avatar Jul 01 '24 03:07 LinkinStars

If you want the API docs. Here is https://answer.apache.org/docs/api#quick-look Perhaps you can achieve your requirement by implementing a plugin. https://github.com/apache/incubator-answer-plugins

Thanks, I will dive into it

fujohnwang avatar Jul 01 '24 08:07 fujohnwang

plugin things are not what I want.

I want to integrate answers but not be integrated by answers.

fujohnwang avatar Jul 01 '24 09:07 fujohnwang

I want to integrate answers with existing account system.

Confirm it. Not the connector, using the user center. https://github.com/apache/incubator-answer-plugins?tab=readme-ov-file#user-center The user center plugin can replace the whole user system in Answer.

If that doesn't help you, then you'll have to use the API approach.

LinkinStars avatar Jul 01 '24 10:07 LinkinStars

If you want the API docs. Here is https://answer.apache.org/docs/api#quick-look Perhaps you can achieve your requirement by implementing a plugin. https://github.com/apache/incubator-answer-plugins

Quick Look If you want to quickly view the API document, you can visit the following link: https://meta.answer.dev/swagger/index.html

this url open error: image

Dev-Wiki avatar Sep 11 '24 08:09 Dev-Wiki