Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ public LearningHubResourceStore()
{
new ApiResource("learninghubapi", "Learning Hub API") { Scopes = new List<string> { "learninghubapi", }, },
new ApiResource("userapi", "User API") { Scopes = new List<string> { "userapi" } },
new ApiResource("learningcredentialsapi", "Learning Credentials API") { Scopes = new List<string> { "learningcredentialsapi" } },
};

this.apiScopes = new[]
{
new ApiScope("learninghubapi", "Access Learning Hub API"),
new ApiScope("userapi", "Access User API"),
new ApiScope("learningcredentialsapi", "Learning Credentials API"),
};

this.identityResources = new[]
Expand Down
15 changes: 15 additions & 0 deletions Auth/LearningHub.Nhs.Auth/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,21 @@
"RequirePkce": false,
"AllowOfflineAccess": false
},
"userprofileclient": {
"BaseUrl": "",
"ClientName": "",
"ClientSecret": "",
"AllowedGrantTypes": [ "" ],
"RedirectUris": [ "" ],
"PostLogoutUris": [ "" ],
"AllowedScopes": [ "", "", "", "", "", "" ],
"BackChannelLogoutSessionRequired": true,
"BackChannelLogoutUri": "",
"UpdateAccessTokenClaimsOnRefresh": true,
"RequireConsent": false,
"RequirePkce": true,
"AllowOfflineAccess": true
},
"learninghubopenapi": {
"BaseUrl": "",
"ClientName": "",
Expand Down