Skip to content

Commit

Permalink
docs: github media asset handling as temporary solution
Browse files Browse the repository at this point in the history
  • Loading branch information
NikiforovAll committed May 2, 2024
1 parent e84a986 commit be5972c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docs/authorization/authorization-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ When a request to access a resource is made, the PEP intercepts the request and

Remember that to use the PEP endpoint and the Keycloak Authorization Services, you need to enable authorization for your client in the Keycloak admin console.

![authz-arch-overview](/assets/authz-arch-overview.png)
<!-- ![authz-arch-overview](/assets/authz-arch-overview.png) -->
![authz-arch-overview](https://media.githubusercontent.com/media/NikiforovAll/keycloak-authorization-services-dotnet/main/docs/public/assets/authz-arch-overview.png)

> [!TIP]
> See Keycloak's documentation - [Authorization Server Architecture](https://www.keycloak.org/docs/latest/authorization_services/index.html#_overview_architecture) for more details.
Expand Down
9 changes: 6 additions & 3 deletions docs/authorization/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,18 @@ The *Keycloak Authorization Server* evaluates these policies whenever a user att
💡 Here an example of how to create a permission for scopes:

![permission](/assets/read-workspace-permission.png)
<!-- ![read-workspace-permission](/assets/read-workspace-permission.png) -->
![read-workspace-permission](https://media.githubusercontent.com/media/NikiforovAll/keycloak-authorization-services-dotnet/main/docs/public/assets/read-workspace-permission.png)

💡 Here is an example of how to create a resource and associate a scopes with it:

![permission](/assets/my-workspace-resource.png)
![my-workspace-resource](/assets/my-workspace-resource.png)
![permission](https://media.githubusercontent.com/media/NikiforovAll/keycloak-authorization-services-dotnet/main/docs/public/assets/my-workspace-resource.png)

💡 Keycloak provides a UI to evaluate permissions for a given resource, user, scopes, etc. This feature enables you to prototype and troubleshoot more easily. Here is an example of how to evaluate permissions for an admin user:

![permission](/assets/evaluate-permissions-for-admin.png)
![evaluate-permissions-for-admin](/assets/evaluate-permissions-for-admin.png)
![evaluate-permissions-for-admin](https://media.githubusercontent.com/media/NikiforovAll/keycloak-authorization-services-dotnet/main/docs/public/assets/evaluate-permissions-for-admin.png)

## Add to your code

Expand Down

0 comments on commit be5972c

Please sign in to comment.