Updated Client configuration (markdown)
parent
31a1606628
commit
e2f0dcaab6
|
@ -156,7 +156,7 @@ Provides information for a pre-registered client to connect to a server.
|
|||
<property name="clients">
|
||||
<map>
|
||||
<entry key="${idp.url}">
|
||||
<bean class="org.mitre.oauth2.model.ClientDetailsEntity">
|
||||
<bean class="org.mitre.oauth2.model.RegisteredClient">
|
||||
<property name="clientId" value="client" />
|
||||
<property name="clientSecret" value="secret" />
|
||||
<property name="scope">
|
||||
|
@ -168,6 +168,12 @@ Provides information for a pre-registered client to connect to a server.
|
|||
<value>phone</value>
|
||||
</set>
|
||||
</property>
|
||||
<property name="tokenEndpointAuthMethod" value="SECRET_BASIC" />
|
||||
<property name="redirectUris">
|
||||
<set>
|
||||
<value>http://localhost:8080/simple-web-app/openid_connect_login</value>
|
||||
</set>
|
||||
</property>
|
||||
</bean>
|
||||
</entry>
|
||||
</map>
|
||||
|
@ -182,7 +188,7 @@ Dynamically registers the client for each issuer based on the template of client
|
|||
```
|
||||
<bean class="org.mitre.openid.connect.client.service.impl.DynamicRegistrationClientConfigurationService">
|
||||
<property name="template">
|
||||
<bean class="org.mitre.oauth2.model.ClientDetailsEntity">
|
||||
<bean class="org.mitre.oauth2.model.RegisteredClient">
|
||||
<property name="clientName" value="Simple Web App" />
|
||||
<property name="scope">
|
||||
<set value-type="java.lang.String">
|
||||
|
@ -193,6 +199,12 @@ Dynamically registers the client for each issuer based on the template of client
|
|||
<value>phone</value>
|
||||
</set>
|
||||
</property>
|
||||
<property name="tokenEndpointAuthMethod" value="SECRET_BASIC" />
|
||||
<property name="redirectUris">
|
||||
<set>
|
||||
<value>http://localhost:8080/simple-web-app/openid_connect_login</value>
|
||||
</set>
|
||||
</property>
|
||||
</bean>
|
||||
</property>
|
||||
</bean>
|
||||
|
|
Loading…
Reference in New Issue