Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add missing descriptor #5825

Merged
merged 1 commit into from
Aug 10, 2023
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
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
}

}

}
}