Skip to content

Commit

Permalink
chore: add missing descriptor #5824 (#5825)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgomer2001 authored Aug 10, 2023
1 parent 69718b1 commit 3c9ca37
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/agama-catalog/jans/inboundID/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Let's add the required libraries to the authentication server:

### Make a `gama` archive

[gama files](https://docs.jans.io/head/agama/gama-format/) are deployable units in the Agama engine. To create one, simply zip the contents of [project](./project) subdirectory. The resulting archive must have two folders at top-level: `web` and `code`. The file extension does not matter in the end.
[gama files](https://docs.jans.io/head/agama/gama-format/) are deployable units in the Agama engine. To create one, simply zip the contents of [project](./project) subdirectory. The resulting archive must have three folders at top-level: `web`, `lib`, and `code`. The file extension does not matter in the end.

To quickly collect the contents of _project_, you can download the whole Jans repository or make a shallow clone of main branch using `git`. Using `git` is probably a faster way.

Expand Down
60 changes: 60 additions & 0 deletions docs/agama-catalog/jans/inboundID/project/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"projectName": "agama-social-inbound",
"author": "jgomer2001",
"type": "Community",
"version": "1.0.0",
"description": "A project useful to delegate authorization to external services like social sites",
"noDirectLaunch": [ "io.jans.inbound.Facebook", "io.jans.inbound.Github", "io.jans.inbound.Google" ],
"configs": {

"io.jans.inbound.Facebook": {
"authzEndpoint": "https://www.facebook.com/v14.0/dialog/oauth",
"tokenEndpoint": "https://graph.facebook.com/v14.0/oauth/access_token",
"userInfoEndpoint": "https://graph.facebook.com/v14.0/me",
"clientId": "<APP-ID>",
"clientSecret": "<APP-SECRET>",
"scopes": ["email", "public_profile"]
},
"io.jans.inbound.Github": {
"authzEndpoint": "...",
"tokenEndpoint": "...",
"userInfoEndpoint": "...",
"clientId": "<APP-ID>",
"clientSecret": "<APP-SECRET>",
"scopes": []
},
"io.jans.inbound.Google": {
"authzEndpoint": "https://accounts.google.com/o/oauth2/v2/auth",
"tokenEndpoint": "https://oauth2.googleapis.com/token",
"userInfoEndpoint": "https://www.googleapis.com/oauth2/v3/userinfo",
"clientId": "<APP-ID>",
"clientSecret": "<APP-SECRET>",
"scopes": ["email", "profile"]
},
"io.jans.inbound.ExternalSiteLogin": {

"facebook": {
"flowQname": "io.jans.inbound.Facebook",
"displayName": "Facebook",
"mappingClassField": "io.jans.inbound.Mappings.FACEBOOK",
"logoImg": "facebook.png"
},

"github": {
"flowQname": "io.jans.inbound.Github",
"displayName": "Github",
"mappingClassField": "io.jans.inbound.Mappings.GITHUB",
},

"google": {
"flowQname": "io.jans.inbound.Google",
"displayName": "Google",
"mappingClassField": "io.jans.inbound.Mappings.GOOGLE",
"enabled": false,
"skipProfileUpdate": true
}

}

}
}

0 comments on commit 3c9ca37

Please sign in to comment.