oidc: set application_type to native to skip elaborate web redirect URIs
This commit is contained in:
@@ -249,6 +249,7 @@ class CloudronAdapter {
|
||||
const tmp = {
|
||||
client_id: id,
|
||||
client_secret: client.secret,
|
||||
application_type: 'native', // default is web but we want more flexible redirectUris and this is only used in https://github.com/panva/node-oidc-provider/blob/03c9bc513860e68ee7be84f99bfc9dc930b224e8/lib/helpers/client_schema.js#L536
|
||||
redirect_uris: client.loginRedirectUri.split(',').map(s => s.trim()),
|
||||
id_token_signed_response_alg: client.tokenSignatureAlgorithm || 'RS256'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user