Skip to content
Snippets Groups Projects
Verified Commit 8e7d93d3 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

rename "openappstack_roles" to "stackspin_roles"

parent 896b3c51
No related branches found
No related tags found
1 merge request!25Fix user-panel usage with Stackspin
Pipeline #9487 failed with stages
in 2 minutes and 5 seconds
......@@ -24,7 +24,7 @@ module.exports = {
base_url: process.env.HYDRA_BASE_URL,
authorization_endpoint: process.env.AUTHORIZE_URL,
userinfo_endpoint: process.env.USERINFO_URL,
scope: ['openid', 'profile', 'email', 'openappstack_roles'],
scope: ['openid', 'profile', 'email', 'stackspin_roles'],
access_token_endpoint: process.env.ACCESS_TOKEN_URL,
response_type: 'token',
token_type: 'Bearer',
......@@ -33,7 +33,7 @@ module.exports = {
client_secret: process.env.OAUTH_CLIENT_SECRET,
}
},
scopeKey: "openappstack_roles"
scopeKey: "stackspin_roles"
}
}
......
......@@ -27,7 +27,7 @@ curl --header "Content-Type: application/json" \
\"client_uri\": \"$HOST:3000\",
\"logo_uri\": \"\",
\"redirect_uris\": [\"$REDIRECT_URL\"],
\"scope\": \"openid profile email openappstack_roles\",
\"scope\": \"openid profile email stackspin_roles\",
\"grant_types\": [\"implicit\"],
\"response_types\": [\"token\"],
\"token_endpoint_auth_method\": \"client_secret_basic\"}" \
......
......@@ -6,7 +6,7 @@ BASE_URI=$3
REDIRECT_URI=$BASE_URI/callback
LOGO_URI=$BASE_URI/favicon.ico
HOST=$4
SCOPES="openid profile email openappstack_roles"
SCOPES="openid profile email stackspin_roles"
curl --header "Content-Type: application/json" \
--request POST \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment