mirror of
https://github.com/wso2/open-mcp-auth-proxy.git
synced 2025-06-28 01:23:30 +00:00
Add App creation image to readme
This commit is contained in:
parent
257c693880
commit
3f861ad6f1
1 changed files with 15 additions and 8 deletions
23
README.md
23
README.md
|
@ -66,18 +66,25 @@ To enable authorization through your own Asgardeo organization:
|
||||||
|
|
||||||
1. [Register](https://asgardeo.io/signup) and create an organization in Asgardeo
|
1. [Register](https://asgardeo.io/signup) and create an organization in Asgardeo
|
||||||
2. Create an [M2M application](https://wso2.com/asgardeo/docs/guides/applications/register-machine-to-machine-app/)
|
2. Create an [M2M application](https://wso2.com/asgardeo/docs/guides/applications/register-machine-to-machine-app/)
|
||||||
3. Authorize this application to invoke "Application Management API" with the `internal_application_mgt_create` scope
|
1. [Authorize this application](https://wso2.com/asgardeo/docs/guides/applications/register-machine-to-machine-app/#authorize-the-api-resources-for-the-app) to invoke "Application Management API" with the `internal_application_mgt_create` scope
|
||||||
4. Update the existing `config.yaml` with your Asgardeo details:
|

|
||||||
|
2. Update the existing `config.yaml` with your Asgardeo details:
|
||||||
|
|
||||||
|
#### Configure the Auth Proxy
|
||||||
|
|
||||||
|
Create a configuration file config.yaml with the following parameters:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Add to your config.yaml
|
base_url: "http://localhost:8000" # URL of your MCP server
|
||||||
asgardeo:
|
listen_port: 8080 # Address where the proxy will listen
|
||||||
org_name: "<your_org_name>"
|
|
||||||
client_id: "<client_id>"
|
asgardeo:
|
||||||
client_secret: "<client_secret>"
|
org_name: "<org_name>" # Your Asgardeo org name
|
||||||
|
client_id: "<client_id>" # Client ID of the M2M app
|
||||||
|
client_secret: "<client_secret>" # Client secret of the M2M app
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Start the proxy with Asgardeo integration:
|
3. Start the proxy with Asgardeo integration:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./openmcpauthproxy --asgardeo
|
./openmcpauthproxy --asgardeo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue