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

初始脚本创建的apollo用户无法登录 #4456

Closed
zisongsun opened this issue Jul 13, 2022 · 4 comments
Closed

初始脚本创建的apollo用户无法登录 #4456

zisongsun opened this issue Jul 13, 2022 · 4 comments
Labels

Comments

@zisongsun
Copy link

使用的2.0.1版本,使用初始化的mysql脚本导入的user信息,但是使用apollo/admin无法登录。
页面报错:incorrect username or password
插入user的脚本:
INSERT INTO Users (Username, Password, UserDisplayName, Email, Enabled)
VALUES
('apollo', '$2a$10$7r20uS.BQ9uBpf3Baj3uQOZvMVvB1RN3PYoKE94gtz2.WAOuiiwXS', 'apollo', 'apollo@acme.com', 1);
想问一下,密码的加密方式是什么,可否关闭用户登录功能?

@nobodyiam
Copy link
Member

The documentation is here and the code is here.
The default spring security auth should work well with the default user data. You may check the server log to see why it failed.

@zisongsun
Copy link
Author

The documentation is here and the code is here. The default spring security auth should work well with the default user data. You may check the server log to see why it failed.

ApolloPortal服务在启动完成之后,访问Url 尝试登录或者登录失败,ApolloPortal的日志无任何日志输出。。

@stale
Copy link

stale bot commented Aug 31, 2022

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 31, 2022
@stale
Copy link

stale bot commented Sep 7, 2022

This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.

@stale stale bot closed this as completed Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants