> For the complete documentation index, see [llms.txt](https://docs.meeco.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meeco.me/openapi-docs/svx-api/bridge.md).

# Bridge

## Gets authorization url

> Start bridge authorization and return the authorization URL for front-channel redirection.\
> \
> \## Supported Standards\
> \
> \- \[OpenID for Verifiable Credential Issuance (OpenID4VCI 1.0)]\(<https://openid.net/specs/openid-4-verifiable-credential-issuance-1\\_0.html)\\>
> \- \[OpenID for Verifiable Presentations (OpenID4VP 1.0)]\(<https://openid.net/specs/openid-4-verifiable-presentations-1\\_0.html>)<br>

```json
{"openapi":"3.1.0","info":{"title":"SVX Wallet API","version":"4.0.1"},"servers":[{"url":"https://zyfla-wallet-sandbox.meeco.cloud","description":"SVX Wallet deployment (relative)"}],"security":[{},{"bearerAuth":[]},{"mutualTLS":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"JWT","scheme":"bearer","type":"http"},"mutualTLS":{"type":"mutualTLS"}}},"paths":{"/bridge/authorize":{"get":{"summary":"Gets authorization url","description":"Start bridge authorization and return the authorization URL for front-channel redirection.\n\n## Supported Standards\n\n- [OpenID for Verifiable Credential Issuance (OpenID4VCI 1.0)](https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html)\n- [OpenID for Verifiable Presentations (OpenID4VP 1.0)](https://openid.net/specs/openid-4-verifiable-presentations-1_0.html)\n","operationId":"BridgeController_authorize","parameters":[{"description":"Request URI","in":"query","name":"request_uri","required":true,"schema":{"type":"string"}},{"description":"Connection","in":"query","name":"connection","required":true,"schema":{"type":"string"}},{"description":"Client ID","in":"query","name":"client_id","required":true,"schema":{"type":"string"}},{"description":"Redirect URI","in":"query","name":"redirect_uri","required":true,"schema":{"type":"string"}},{"description":"Account claims. Comma separated list of claims.","in":"query","name":"account_claims","required":true,"schema":{"type":"string"}},{"description":"UI locales","in":"query","name":"ui_locales","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"Authorization URL to start the authentication process with the external identity provider."}}}}},"description":""}},"tags":["Bridge"]}}}}
```

## Handle bridge receive callback

> \`authorization\_code\` redirect uri that was started via \`/receive\` endpoint.\
> \`state\` and \`code\` come as a query parameters.\
> \`code\` is exchanged for the \`access\_token\` to be used in the credential issuence/presentation flow.\
> \
> \## Supported Standards\
> \
> \- \[RFC 6749 - OAuth 2.0 Authorization Code Grant]\(<https://datatracker.ietf.org/doc/html/rfc6749#section-4.1)\\>
> \- \[OpenID for Verifiable Credential Issuance (OpenID4VCI 1.0)]\(<https://openid.net/specs/openid-4-verifiable-credential-issuance-1\\_0.html>)<br>

```json
{"openapi":"3.1.0","info":{"title":"SVX Wallet API","version":"4.0.1"},"servers":[{"url":"https://zyfla-wallet-sandbox.meeco.cloud","description":"SVX Wallet deployment (relative)"}],"security":[{},{"bearerAuth":[]},{"mutualTLS":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"JWT","scheme":"bearer","type":"http"},"mutualTLS":{"type":"mutualTLS"}}},"paths":{"/bridge/authorize/receive/callback":{"get":{"summary":"Handle bridge receive callback","description":"`authorization_code` redirect uri that was started via `/receive` endpoint.\n`state` and `code` come as a query parameters.\n`code` is exchanged for the `access_token` to be used in the credential issuence/presentation flow.\n\n## Supported Standards\n\n- [RFC 6749 - OAuth 2.0 Authorization Code Grant](https://datatracker.ietf.org/doc/html/rfc6749#section-4.1)\n- [OpenID for Verifiable Credential Issuance (OpenID4VCI 1.0)](https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html)\n","parameters":[{"description":"Error code","in":"query","name":"error","required":false,"schema":{"type":"string"}},{"description":"Error description","in":"query","name":"error_description","required":false,"schema":{"type":"string"}},{"description":"Error URI","in":"query","name":"error_uri","required":false,"schema":{"type":"string"}},{"description":"Authorization code","in":"query","name":"code","required":false,"schema":{"type":"string"}},{"description":"Authorization state","in":"query","name":"state","required":false,"schema":{"type":"string"}},{"description":"Access token issuer","in":"query","name":"iss","required":false,"schema":{"type":"string"}}],"operationId":"BridgeController_callback","responses":{"302":{"description":"Redirects to `redirect_uri` if returned in the case of a successful presentation response submission.\nOtherwise redirects to `redirect_uri` originally provided in the /authorize endpoint.\n"}},"tags":["Bridge"]}}}}
```
