mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-20 17:42:50 +08:00
parent
3ef978460c
commit
7d0320beca
@ -93,7 +93,7 @@ Then map the authentication provider key to a ReRoute in your configuration e.g.
|
||||
Identity Server Bearer Tokens
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
In order to use IdentityServer bearer tokens register your IdentityServer services as usual in ConfigureServices with a scheme (key). If you don't understand how to do this please consul the IdentityServer documentation.
|
||||
In order to use IdentityServer bearer tokens register your IdentityServer services as usual in ConfigureServices with a scheme (key). If you don't understand how to do this please consult the IdentityServer documentation.
|
||||
|
||||
.. code-block:: csharp
|
||||
|
||||
@ -141,4 +141,4 @@ Allowed Scopes
|
||||
|
||||
If you add scopes to AllowedScopes Ocelot will get all the user claims (from the token) of the type scope and make sure that the user has all of the scopes in the list.
|
||||
|
||||
This is a way to restrict access to a ReRoute on a per scope basis.
|
||||
This is a way to restrict access to a ReRoute on a per scope basis.
|
||||
|
Loading…
x
Reference in New Issue
Block a user