mirror of
https://github.com/keycloak/keycloak.git
synced 2026-02-11 01:39:01 -06:00
READ_TOKEN -> read-token
This commit is contained in:
@@ -289,7 +289,7 @@
|
||||
<literal>Stored Tokens Readable</literal>
|
||||
</entry>
|
||||
<entry>
|
||||
Automatically assigns a <literal>broker.READ_TOKEN</literal> role that allows the user
|
||||
Automatically assigns a <literal>broker.read-token</literal> role that allows the user
|
||||
to access any stored external tokens via the broker service.
|
||||
</entry>
|
||||
</row>
|
||||
@@ -1151,7 +1151,7 @@ Authorization: Bearer {keycloak_access_token}]]></programlisting>
|
||||
</para>
|
||||
<para>
|
||||
By default, the Keycloak access token issued for the application can't be automatically used for retrieve thirdparty token.
|
||||
A user will have to have the <literal>broker.READ_TOKEN</literal> role. The client will also have to have that role
|
||||
A user will have to have the <literal>broker.read-token</literal> role. The client will also have to have that role
|
||||
in its scope. In the broker configuration page you can automatically assign this role to newly imported users by
|
||||
turning on the <literal>Stored Tokens Readable</literal> switch.
|
||||
</para>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<div class="col-sm-4">
|
||||
<input ng-model="identityProvider.addReadTokenRoleOnCreate" id="storedTokensReadable" onoffswitch />
|
||||
</div>
|
||||
<span tooltip-placement="right" tooltip="Enable/disable new users can read any stored tokens. This assigns the broker.READ_TOKEN role." class="fa fa-info-circle"></span>
|
||||
<span tooltip-placement="right" tooltip="Enable/disable new users can read any stored tokens. This assigns the broker.read-token role." class="fa fa-info-circle"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" for="updateProfileFirstLogin">Update Profile on First Login</label>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<div class="col-sm-4">
|
||||
<input ng-model="identityProvider.addReadTokenRoleOnCreate" id="storedTokensReadable" onoffswitch />
|
||||
</div>
|
||||
<span tooltip-placement="right" tooltip="Enable/disable new users can read any stored tokens. This assigns the broker.READ_TOKEN role." class="fa fa-info-circle"></span>
|
||||
<span tooltip-placement="right" tooltip="Enable/disable new users can read any stored tokens. This assigns the broker.read-token role." class="fa fa-info-circle"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" for="updateProfileFirstLogin">Update Profile on First Login</label>
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
<div class="col-sm-4">
|
||||
<input ng-model="identityProvider.addReadTokenRoleOnCreate" id="storedTokensReadable" onoffswitch />
|
||||
</div>
|
||||
<span tooltip-placement="right" tooltip="Enable/disable new users can read any stored tokens. This assigns the broker.READ_TOKEN role." class="fa fa-info-circle"></span>
|
||||
<span tooltip-placement="right" tooltip="Enable/disable new users can read any stored tokens. This assigns the broker.read-token role." class="fa fa-info-circle"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" for="enabled">Enabled</label>
|
||||
|
||||
@@ -13,6 +13,6 @@ public interface Constants {
|
||||
|
||||
String INSTALLED_APP_URN = "urn:ietf:wg:oauth:2.0:oob";
|
||||
String INSTALLED_APP_URL = "http://localhost";
|
||||
String READ_TOKEN_ROLE = "READ_TOKEN";
|
||||
String READ_TOKEN_ROLE = "read-token";
|
||||
String[] BROKER_SERVICE_ROLES = {READ_TOKEN_ROLE};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user