redirectUris Readonly
redirectUris: string[]
List of redirect URIs available for use in the OAuth authorization flow.
@note Upon signing in, the client application receives a response from the Bentley IMS OIDC/OAuth2 provider at given URI.
For mobile/desktop applications, given redirect URIs must start with http://localhost:${redirectPort}
or https://localhost:${redirectPort}
.
In the unlikely, but possible case of a port collision, it is recommended to use multiple (e.g. three) redirect URIs with different ports.
A decent strategy for choosing ports for your application is: 3|4|5{GPR_ID}
. For example (GPR_ID used here is 1234):
http://localhost:31234/signin-callback
http://localhost:41234/signin-callback
http://localhost:51234/signin-callback
Defined in
- main/Client.ts Line 91
Last Updated: 06 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.