-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[Other]: Help me about authenticated users #2754
Comments
Hello! Thank you for filing an issue. If this is a bug report, please include relevant logs to help us debug the problem. Join slack 🤖 to connect and communicate with our developers. |
Link to slack doesn't work, ¿can share again? |
Hello, I saw your question regarding custom token verification. The getAdminToken mentioned in the documentation is one way for openimserver to obtain a verification token. If you want to customize the way you get the token, it falls under your own business logic. If you have your own server, there should be two tokens: one for your own server and one for openimserver. You can directly call the API in the documentation to get the admin token and then use it to call the IM interface to get the user token. If not, openim also provides an open-source chat repository that simulates user login (chat), password input, and other operations in an app scenario. When your mobile app obtains the token, it should get two tokens: one for the business system and one for openimserver. As for the business system token, you are completely free to customize how it is generated. I hope this answers your question. |
Your own business system is represented as "Your App Server" in the diagram. User login, registration, and authentication are handled by your business system. |
What would you like to share?
I find it, https://doc.rentsoft.cn/restapi/apis/authenticationManagement/getAdminToken
¿Can customize it?, I want to add into an app mobile this chat, but i need costomize the autentication for accept the session of this mobile app
¿Someone can help me?
Additional information
No response
The text was updated successfully, but these errors were encountered: