microscopic-answer-24504
05/22/2023, 8:34 AMmagnificent-energy-493
worried-memory-93297
05/22/2023, 11:28 AMworried-memory-93297
05/22/2023, 2:40 PMfancy-oil-87995
07/18/2023, 10:08 PMmagnificent-energy-493
magnificent-energy-493
password
for signing up with an email/username and password, and oidc
for signing up using a social sign in provider such as Google or Facebook. You can configure which methods to use in the Ory Identities configuration or in the Console UI. Here is an example of how to enable these methods in the configuration file:
selfservice:
methods:
password:
enabled: true
oidc:
enabled: true
# ...
(Source: User Registration)
2. Give them different roles and permissions in different groups: Ory Permissions provides features to manage relationships and permissions in your application. You can define namespaces to organize your entities, and use the Ory Permissions API to create and manage relationships and permissions programmatically. You can use the Ory Permission Language (OPL) to configure namespaces and relationship rules. For example, you can specify that if a user has access to a folder, the user also has access to all files in that folder. (Source: Simple Access Check Guide, Permissions Overview)
3. Get users/permissions via API: Ory Permissions exposes two APIs for integration: REST and gRPC. The REST API includes the Permission API and the Relationship API. You can use these APIs to get, create, update, and delete permissions, and to check if a user has a permission.
4. *Add an approval flow to get some permission*s: All permission checks are performed using Ory Permissions. Before any action is taken, the required permission should be checked to ensure that the action is allowed. Once you authenticated the subject, you can perform permission checks by calling the check method of the OryPermissions client. The check method takes the subject, permission, and object as parameters and returns a boolean value indicating whether the permission is granted or not. (Source: Simple Access Check Guide)