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

Trusted clients and servers #1

Open
kasperwelbers opened this issue Jul 4, 2023 · 1 comment
Open

Trusted clients and servers #1

kasperwelbers opened this issue Jul 4, 2023 · 1 comment

Comments

@kasperwelbers
Copy link
Member

Implement client/server registration.

In server config, the middlecat url should include an id. This id is obtained after registering at middlecat. User can then add settings on middlecat for access to the server. Such as allowed email addresses / email domains, allowed oauth providers, and allowed clients. This has two functions: (1) protect middlecat from unwanted users, (2) can be used by servers as simple authorization.

Clients can also register. Then need to provide ID and Secret, and if so, they're given separate authorization screen with additional details. This can then be used by clients with a backend (with middlecat-react this can be integrated in the BFF). This has the function of becoming proper oAuth2.0.

This also requires "cat person" rights at middlecat. Should add superuser (via env) who can assign this right.

@kasperwelbers
Copy link
Member Author

Also add scopes, if we're are it anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant