spark-oauth-sample
Version:
This is a Spark OAuth Sample. It contains a) web interface of requesting token, b) a token management center.
30 lines • 877 B
JSON
{
"server": {
"host": "127.0.0.1",
"port": "3000"
},
"oauth": {
"responseType": "code",
"grantType": "authorization_code",
"refreshToken_type": "refresh_token",
"clientID": "your_clientID",
"redirectURI": "http%3A%2F%2F127.0.0.1%3A3000%2Fauth%2Fspark%2Fcallback",
"redirectURIUnencoded": "http://127.0.0.1:3000/auth/spark/callback",
"scope": "spark%3Arooms_read%20spark%3Amemberships_read%20spark%3Amessages_read%20spark%3Apeople_read%20spark%3Amemberships_write%20spark%3Amessages_write%20spark%3Arooms_write",
"state": "test",
"contactEmail": "xxxxx@cisco.com",
"clientSecret": "your_client_secret"
},
"logLevel": "debug",
"dbConfig": {
"host":"127.0.0.1",
"port":"27017",
"adminDBName":"adminUsers",
"tokenDBName":"tokenCenter"
},
"superAdminAccount": {
"username": "admin",
"password": "123456",
"email": "xxxxx@cisco.com"
}
}