Build the client's registration metadata. `scope` is left unset so the SDK's scope-selection strategy chooses one from the server's metadata before registration.
()
| 203 | |
| 204 | |
| 205 | def oauth_client_metadata() -> OAuthClientMetadata: |
| 206 | """Build the client's registration metadata. |
| 207 | |
| 208 | `scope` is left unset so the SDK's scope-selection strategy chooses one from the server's |
| 209 | metadata before registration. |
| 210 | """ |
| 211 | return OAuthClientMetadata( |
| 212 | client_name="interaction-suite", |
| 213 | redirect_uris=[AnyUrl(REDIRECT_URI)], |
| 214 | grant_types=["authorization_code", "refresh_token"], |
| 215 | ) |
| 216 | |
| 217 | |
| 218 | def shimmed_app( |