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

可以用 omniauth-feishu 集成一下 Feishu 登陆 #498

Closed
huacnlee opened this issue Jul 7, 2021 · 10 comments
Closed

可以用 omniauth-feishu 集成一下 Feishu 登陆 #498

huacnlee opened this issue Jul 7, 2021 · 10 comments
Labels
dependencies Pull requests that update a dependency file

Comments

@huacnlee
Copy link

huacnlee commented Jul 7, 2021

No description provided.

@welcome
Copy link

welcome bot commented Jul 7, 2021

感谢你提交的问题或反馈,我会在有时间的时候回复在此期间你可以看看 之前被解决的反馈说不定有你需要的答案。

@icyleaf icyleaf added the dependencies Pull requests that update a dependency file label Jul 7, 2021
@icyleaf
Copy link
Member

icyleaf commented Jul 7, 2021

收到!排期安排上,哈哈哈

@icyleaf
Copy link
Member

icyleaf commented Jul 8, 2021

renny-ren/omniauth-feishu#3 被合并发布新版本后我在跟进吧 :D

@huacnlee
Copy link
Author

huacnlee commented Jul 8, 2021

https://github.com/ruby-china/homeland/blob/main/config/initializers/devise.rb#L3

参考一下,OmniAuth 可以在 rails-settings-cached 里面动态配置。

另外,我看你给 Setting 加了分组,于是我在 rails-settings-cached 2.7.0 里面新增了可以容易分组的方式

@icyleaf
Copy link
Member

icyleaf commented Jul 8, 2021

Omniauth 取值和认证逻辑这块一直想重新收拾下,这些有动力了。

@icyleaf icyleaf mentioned this issue Jul 8, 2021
7 tasks
@huacnlee
Copy link
Author

huacnlee commented Jul 8, 2021

ActionMailer 的动态配置,可以参考这个:

https://github.com/ruby-china/homeland/blob/main/app/mailers/application_mailer.rb#L19

这样就可以在服务启动以后,在 Setting 里面随时修改了

@icyleaf
Copy link
Member

icyleaf commented Jul 9, 2021

https://github.com/tryzealot/zealot/runs/3028731696 这个 action 跑完更新下 nightly 版本就可以尝鲜支持飞书了,下周应该会发一个新版本 :D

@icyleaf
Copy link
Member

icyleaf commented Jul 19, 2021

4.1.0 版本已发布

@icyleaf icyleaf closed this as completed Jul 19, 2021
@huacnlee
Copy link
Author

截屏2021-07-19 10 38 32

飞书登陆不是直接进入的?点击登陆以后还是回到了登陆页面。

你做的方式不是直接可以用 OmniAuth 完成注册登陆,还需要绑定一个账号吗?

@icyleaf
Copy link
Member

icyleaf commented Jul 19, 2021

我这可以直接登录的呢,授权之后就近 dashboard 了,你拉下最新的版本?
feishu_logged_in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Development

No branches or pull requests

2 participants