Comments (9)
@seriouszyx @ComradeProgrammer @Resulte
from casdoor.
@leoncamel sounds good. Can you split the syncers to different issues? One issue for one syncer. Because one syncer itself is a big code change itself
from casdoor.
@hsluoyz Sure, I will submit idP related syncer as new issue. This issue remains as a umbrella issue to discuss general concepts.
from casdoor.
I add split it into #2624, #2625.
Currently, we have many Id-Providers, but not all of them are syncable
/sychronisable
. Some Id-Provider support additional APIs for Listing Users. Further more, some Id-Provider provide incremental
APIs, like Microsoft's Graph API, which make its Syncer become a Stateful Syncer
(since it need store last checkpoint position).
I just did a quick survey about these Id-Providers:
Provider Name | Syncable | Incremental Syncable |
---|---|---|
ADFS | ||
AliPay | ||
AzureADB2C | ||
Baidu | ||
Custom | ||
Casdoor | ||
DingTalk | Yes | |
Douyin | ||
Gitee | ||
Github | ||
Gitlab | Yes | |
Goth | ||
Infoflow Internal | ||
Inforflow 3rd-party | ||
Lark | ||
MetaMask | ||
Okta | ||
Web3Onboard | ||
WeChat MiniProgram | ||
WeCom Internal | Yes #2625 | |
WeCom 3rd-party | Yes #2625 | |
Correct me if I was wrong.
from casdoor.
@leoncamel can you make PR?
from casdoor.
OK. We will try to make PR for this. But, I think it involve big refactor on frontend & syncer interface and some core logic. And we are not sure if this PR will match casdoor's rodmap.
We will give try to make first PR to open discussion on this.
from casdoor.
@leoncamel I think this can be implemented by a new syncer. There's no need to build on top of the OAuth provider. They use different APIs and have nothing much shared in common.
from casdoor.
@hsluoyz Yes.
But, I not sure how to share parameters between idP and its syncer. For the WeCom case, they may share ClientID
and ClientSecret
?
Any thoughts?
from casdoor.
@leoncamel no need to share. Just store it in syncer object for a second time
from casdoor.
Related Issues (20)
- Suggest integrating a new SMS provider HOT 3
- [question] Token Endpoint responses with 'success' even when `client-secret` is wrong HOT 2
- [feature] let user change his password on first login HOT 1
- Passing docker password stored in a secret as File HOT 2
- Casdoor forward auth on Caddy HOT 1
- improved docker-entrypoint.sh HOT 1
- Enforce acceptance of Terms and Conditions for social logins HOT 4
- Test STMP connection failed. HOT 1
- [Feature] (SAML) Add optional assertion & message signing HOT 1
- Radius Challenge/Response for MFA (RFC2865) feature request HOT 1
- [bug] version cannot be displayed in all-in-one docker image HOT 6
- User's password is still not encrypted after setting the password storage algorithm HOT 4
- MFA Switch without skip the previous configuration HOT 1
- Adjustable all fields of config in SMS-Custom-Http provider HOT 1
- TOTP-APP-MFA HOT 1
- Canβt use the Local File System provider to store uploaded files HOT 3
- casdoor's casbin model not support casbin built-in function HOT 1
- api/login/oauth/access_token need using mobile verification codes HOT 2
- [UI bug] the top Navbar item is broken HOT 1
- [bug] fix the address issue for OIDC HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from casdoor.