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

[Request] 个人资料页面 #4759

Closed
SpeedupMaster opened this issue Nov 22, 2024 · 5 comments
Closed

[Request] 个人资料页面 #4759

SpeedupMaster opened this issue Nov 22, 2024 · 5 comments
Labels
🌠 Feature Request New feature or request | 特性与建议 Inactive No response in 30 days | 超过 30 天未活跃

Comments

@SpeedupMaster
Copy link
Contributor

🥰 需求描述

Logto最近更新支持Account API了。不知道是否可以实现个人资料页面,方便更改用户名、密码、头像啥的

🧐 解决方案

ref

What is Logto Account API

The Logto Acount API is a comprehensive set of APIs that gives the end users direct API access without needing to go through the Management API, here is the highlights:

Direct access: The Account API empowers end users to directly access and manage their own account profile without requiring the relay of Management API.
User profile and identities management: Users can fully manage their profiles and security settings, including the ability to update identity information like email, phone, and password, as well as manage social connections. MFA and SSO support are coming soon.
Global access control: Admin has full, global control over access settings, can customize each fields.
Seamless authorization: Authorizing is easier than ever! Simply use client.getAccessToken() to obtain an opaque access token for OP (Logto), and attach it to the Authorization header as Bearer <access_token>.

With the Logto Account API, you can build a custom account management system like a profile page that is fully integrated with Logto.

Some frequently usage are listed below:

Retrieve user profile
Update user profile
Update user password
Update user identities including email, phone, and social connections

To learn more about the APIs that are available, please visit Logto Account API Reference and Logto Verification API Reference.

📝 补充信息

No response

@SpeedupMaster SpeedupMaster added the 🌠 Feature Request New feature or request | 特性与建议 label Nov 22, 2024
@lobehubbot
Copy link
Member

👀 @SpeedupMaster

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@arvinxx
Copy link
Contributor

arvinxx commented Nov 24, 2024

个人资料页 后需要做应该是统一做,跟 logto 是否支持无关。但目前应该暂时没有精力做个人资料页。

如果你是用 Clerk 的话是可以直接有这个页面的。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


What needs to be done at the end of the profile page should be done uniformly, regardless of whether logto supports it. But I probably don’t have the energy to create a personal profile page at the moment.

If you are using Clerk, you can have this page directly.

@lobehubbot lobehubbot added the Inactive No response in 30 days | 超过 30 天未活跃 label Jan 24, 2025
@arvinxx
Copy link
Contributor

arvinxx commented Feb 13, 2025

Image

目前初步有了一版针对 next-auth 登录的profile 页面,后续会支持修改头像。但修改密码可能不会支持

@arvinxx arvinxx closed this as completed Feb 13, 2025
@lobehubbot
Copy link
Member

@SpeedupMaster

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议 Inactive No response in 30 days | 超过 30 天未活跃
Projects
None yet
Development

No branches or pull requests

3 participants